/cricket

Test match cricket simulator

Primary LanguagePython

cricket

Test match cricket simulator Python program takes user inputs for years and teams and simulates a Test match, then outputs a scorecard.txt file.

How to run:

download all the files in the /cricket branch.

direct your command line to the folder where the files were downloaded

to play a single game:

type python3 cricket.py and follow the instructions on-screen

if this doesn't work, you may need to download python from https://www.python.org/

to sim a series of games between two teams:

type python3 series.py for historical (including all-time) teams

type python3 customseries.py for custom teams

to simulate a league between a series of teams:

type python3 league.py for historical (including all-time) teams

type python3 customleague.py for custom teams

to set up a tournament betweeen teams that will be drafted:

type python3 draft.py

if you downloaded a previous version of the sim, you need to redownload all the files in the branch, as the data files have changed.