/RiskDiceBattleSimulator

A simulator of battles in Risk without having to cast a dice

Primary LanguagePythonApache License 2.0Apache-2.0

Risk Dice Battle Simulator

This Python CLI tool randomly calculates the outcome of battles in Risk

Instead of rolling the dice you can enter the number of attacking and defending troops and the winner will be randomly determined.

Usage

Calculate the outcome of a battle:

RiskDiceBattleSimulator.py NUMBER_OF_ATTACKERS NUMBER_OF_DEFENDERS

Calculate the outcome of many runs of the same battle:

RiskDiceBattleSimulator.py NUMBER_OF_ATTACKERS NUMBER_OF_DEFENDERS NUMBER_OF_RUNS