/powerball-game

A powerball game simulation in Python.

Primary LanguagePythonMIT LicenseMIT

powerball-game

A powerball game where players can choose 5 normal white balls, and one power ball from given range. Once all players have chosen the balls/numbers, the winning number is generated from all the chosen balls where highest frequency gets higher preference.

You need Python 3.3 or later to setup and run the simulation and tests.

To install requirements:

make init

To run the game/simulation:

make run

To run tests:

make test