Skip to content

cgensheimer/risk-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

risk-simulation

Simple Python Script to Simulate Dice Rolling Mechanics of the Risk Board Game

Usage

python risk.py

Expected Behavior

This CL program asks the user to imput the number of attacking versus defending armies (turn by turn) and then simulates the dice rolling mechanics of the Risk board game. The program will output the number of armies lost by each player unless either side has won the battle in that turn.

Example

Enter the number of attackers: 3
Enter the number of defenders: 2
Attackers: 2 (-1) Defenders: 1 (-1)

Enter the number of...

About

Simple Python Script to Simulate Dice Rolling Mechanics of the Risk Board Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages