Syedur Rahman's
The Cricket Simulator

Click here to download the latest version of the Cricket Simulator

 

Click here for information about the cricket simulator

 

NEWS AND UPDATES

NEW - February 2003 - UPDATED SQUADS FOR WORLD CUP
The Cricket Simulator team files have been updated with the current squads that will be participating in the World Cup in South Africa, which is set to kick off in ........ a few hours.

NEW - February 2003 - SIMULATED RESULTS OF FIRST ROUND WORLD CUP MATCHES
 

After skipping some lectures last week, I was under pressure to do some work and catch up. After five minutes of very exhausting reading, I decided to take a three hour break and simulate all the matches of the World Cup. You can view the score and commentary files from below or download the whole bunch of them. 

 

December 2001 - Often in the previous version (i.e. v5.2), some bowlers' figures were missing from the in-game bowling card and the score files. (My thanks to Jeremy Brereton for pointing that out). Last night, I just happened to be running the source code on the interpreter when it happened again. So, I was able to figure out the problem and it's fixed now.

November 2001 - The Player Points Checker and Player Transfer Program
I wrote these two programs based on suggestions from those who installed and played the Cricket Simulator. 
The Player Points Checker shows the all round relative strengths of each player using a points systems based on a formula involving the batting and bowling averages of a player. 
The Player Transfer Program allows you to transfer a player from one team to another while retaining his career stats (I know that is something totally against ICC regulations but I intended it to be used for domestic teams, where players do transfer from one team to another). The transfer program has not been tested thoroughly, so I suggest you make a backup copy of each team file, before attempting a player transfer. 
Both the exe's are in zipped form, so they must be decompressed to the Cricket Simulator directory and run from there. 
The Player Points Checker
checker.zip
The Player Transfer Program
transfer.zip

October 2001 - The predicted results of the cancelled New Zealand tour of Pakistan
Following the terrorist attacks in the United States on September 11, the New Zealand board cancelled its tour of Pakistan (this is a cricket site, so her you with more details). Last week, I sat down and used the announced squads of the competing sides to simulate each game that would have been played. You can click on the following link -
New Zealand's simulated tour of Pakistan 2001 home page, to view the stats and scores from this site
You can also download this zip file containing the overall series stats and the scores from each match. The files must be unzipped to a directory in which the Cricket Simulator version 4.3 or higher has been installed. However, your old team and stats files will be overwritten, so its a much better idea, to copy the Cricket Simulator exes to a new directory and then unzip the files there
. Click here to download zip file

The simulated results of matches India would have played, had they participated in the Asian Test Championship

June 2001 - The Cricket Simulator League
The newest version of the cricket simulator (the one that stores stats) was used to simulate a league involving the top twelve cricket nations of the world with each team playing all the other teams once in one day internationals. The results were pretty accurate with Australia ending up as the champs, losing just one out of eleven encounters. Download this zip file containing the overall series stats and the scores from each match.
Click here to download the league files



About the Cricket Simulator and its new features

The Cricket Simulator is yet another freeware cricket game in text mode. It's a one-man game, designed and programmed in QuickBASIC by Syedur Rahman, who was then a GCE A Level student. There are two executables included in the zip file - 1daycric.exe (for the one-day version) and testcric.exe (the test cricket version).

The game uses a complex formula - about 136 lines of code - to generate the game, by combining the batsman and bowler’s averages, and predicting the possible outcomes of each ball. The team data are stored in files with the extensions SRC and STC for the one-day and test teams respectively. Each file can hold data on fifteen players, and while beginning a game, a player can select any 11 of them to play in that particular match. The player will have to select whether to "Play with a team" or not, that is whether he/she will be in control of the team (i.e. team selection, bowling changes, declarations, batting orders etc.)

While playing, if you want to speed up the game you can hold down the enter key, and the computer will make all the decisions for you automatically, if you hold the shift key the game is sped up, however if you have selected to "play with a team" it will stop when decisions need to be made by you. To quit at any time, keep the escape key pressed.

The results after match are stored in two files score.txt (score file) and comm.txt (commentary file). Score.txt will have the batting scorecard, bowling figures and partnership stats of each innings played in the match. The comm.txt file has ball-by-ball commentary including the who is bowling to who and the outcome of each ball, line by line. After each match, the computer will ask whether you want to save the score file, you can do so by pressing Y and inputting a 8 letter file name, it will automatically be given the extension SCT. You can also view the recentmost score by selecting "Display old scores" from the main menu and then choosing "Display recentmost score". You can also select to load an old saved score file from the current directory.

The new version also stores the statistics of each player for all matches played using the cricket simulator. You can view or erase them from the view stats option on the main menu. All records (matches played, innings, runs, averages, strike rates, wickets, economy rates etc) are stored and updated in the team files after every game.

The commentary file can be displayed by going to Display Old Scores option and then selecting commentary file. The recentmost commentary file can also be saved or viewed. If saved the extension SCC is given to it, and it can be loaded later at any time.

The newest version of The Cricket Simulator includes the following features·

  • Team files, eighteen (previously used to be 15) cricketers per team
  • Player can select 11 of the 18, and change the batting line up
  • Statistics for each cricketer - batting & bowling types and averages which actually affect the game
  • Selecting bowlers
  • Ball by ball commentary
  • The score file & new commentary file
  • Ability to save an unlimited number of these files and view them later
  • Over graphs
  • Partnership figures
  • AI is better at selecting bowlers, declaring etc.
  • It can now keep statistics (matches played, innings, runs, averages, strike rates, wickets, economy rates etc) for each player for all the games played using the cricket simulator

The test cricket version has some added features as well as those already mentioned

  • Keeps track of time for lunch, tea and end of day
  • Declarations
  • Innings Victories
  • Follow-ons
  • RAIN!

Finally, I hope you enjoy playing and I would like to thank all those who downloaded the earlier versions and of course those of you who will be trying out the latest version of The Cricket Simulator

 

The official "The Cricket Simulator" web site at http://cricksim.thesportcity.com

Syedur Rahman
Designer and Programmer
The Cricket Simulator
E-mail address:
syedurrahman@gmail.com
Personal Site:
http://syedurrahman.tripod.com
Cricket Site: https://syedurrahman.tripod.com/cricket/



Copyright 2001: Syedur Rahman, The Cricket Simulator