THE Cricket Simulator by Syedur Rahman THE Cricket Simulator is yet another freeware cricket game in text mode. It is a one-man game, designed and programmed in QuickBASIC by Syedur Rahman, who is an A Level student of computing science. 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 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, fifteen cricketer per team " Player can select 11 of the 15, 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 The test cricket version has some added features " Keeps track of time for lunch, tea and end of day " Declarations " Innings Victories " Follow ons " RAIN! I started working on it, on 19th April 1999, and it went through drastic modifications in the year that followed. Finally it is completed. It can now produce more realistic results for a cricket game than most simulators. As I mentioned earlier, the code for the result of each ball is about 136 lines, whose only source was my brain. Finally, I hope you enjoy playing and I would like to think all those who have tried out the earlier versions and of course the latest version of The Cricket Simulator Visit the official "The Cricket Simulator" web site at http://cricket.thesportcity.com Syedur Rahman (endoor@iname.com) Designer and Programmer The Cricket Simulator syedur.isonfire.com cricket.thesportcity.com Copyright 2000: Syedur Rahman, THE Cricket Simulator