smacke / risk-solver

Simple scripts to calculate probabilities for the popular board game, "Risk."

Home Page:https://smacke.net/risk-solver/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Risk Probability Solver

Javascript and Python versions of a simple algorithm to compute probabilities for the board game "Risk". Given a starting army, a sequence of armies to attack, and the desired minimum number of game pieces to leave behind at each conquered territory, the algorithm computes the probability of success. See here for example use.

License

All code is released under the FreeBSD / simplified BSD license.

About

Simple scripts to calculate probabilities for the popular board game, "Risk."

https://smacke.net/risk-solver/

License:Other


Languages

Language:JavaScript 53.5%Language:Python 46.5%