This is an in-depth IPL ball by ball simulator that uses past data of each player in the IPL to predict outcomes on each ball based on various factors.
This is still in the pre-release phase so there are a lot of bugs.
Feel free to contact me for any question related to this simulator or anything really. My Discord is Adu04#1910, and my email is [email protected].
This simulator was featured on Wisden, CricTracker, TimesNow, News18, and more!
You can still use the official release to download it but it hasn't been updated in 4 months and has several huge features missing, plus it can't be updated so I do not maintain it. It is easier to clone the repository as follows -
For Windows -
- Download python - https://www.python.org/downloads/
- After download, run
pip install tabulate
- Install git - https://git-scm.com/downloads (I recommend watching a tutorial if you're stuck anywhere)
- Run
git clone https://github.com/Aducj1910/IPLSimulator
in the terminal - Go to the IPLSimulator folder and run
python main.py
and voila!
For Linux -
- Run
sudo apt install python3.8 python3-pip git
- Run
git clone https://github.com/Aducj1910/IPLSimulator
- Inside the folder, run
pip3 install tabulate
- Then run
python3 main.py
(I would recommend cloning the code since it is more up to date, several bug fixes are not delivered to the exe download until about a week later)
Use the official GitHub pre-release (https://github.com/Aducj1910/IPLSimulator/releases), and choose to download only the setup exe file. (note that you will not get updates automatically) and run the file. (see below for detailed download instruction)
- Once you have downloaded the "Setup_Aducj1910_IPLSim" exe file click on it.
- Click on "more info" and "run anyway" on the Windows Defender popup
- If you get the error that "Windows can't access the device, file" check out this video for the solution --> https://youtu.be/tGLKjq_p0Rs
- Run the setup
- Open the "Aducj1910_IPLSIM" folder created
- Read the license & readme
- Run the IPL.bat or custom.bat, your match scorecards will be saved in the scores folder
There will be three .bat files -
- custom.bat
- IPL.bat (if you cant find the IPL table, you can see the IPL table if you scroll up past the playoff scorecards)
- IPL_Remaining.bat
In the first one, you can play any two IPL teams by inputting their initials (eg. DC, CSK, PBKS, etc.). In the second, you just open it and simulates and entire IPL season, all the scorecards are saved in the /scores folder along with the batStats.txt and bowlStats.txt files. In the third, you can simulate the remainder of the IPL 2021 season that has been suspended for now.
- There are no no-balls or byes
- Sometimes the chase is a little slower during the middle overs.
- Automatic squad selection
- More dynamic run rate adjustment during chases
- Captaincy
- Custom tournaments
- Other leagues like BBL, PSL
I've started working on a newer version of this simulator from scratch that'll accomodate user-made players and possible eventual integration with other software.