WINCRICKET version 2.0.1.7 by Makarand Gadre. Please send all your comments, suggestions etc. to wincricket@wincricket.com 10:31 2000/03/16 **************************************************************** To see this README.TXT properly, in NOTEPAD, set Word Wrap to ON **************************************************************** The ZIP file includes the following files. WCR2017 EXE 381,200 03-03-00 8:07a What is new ? 1) caught and bowled is output as "c & b xyz" instead of "c xyz b xyz" ************************************************************** Release notes for WINCRICKET version 2.0.1.6 by Makarand Gadre. Please send all your comments, suggestions etc. to wincricket@wincricket.com 22:14 2000/02/25 **************************************************************** To see this README.TXT properly, in NOTEPAD, set Word Wrap to ON **************************************************************** The ZIP file includes the following files. IND XI 527 02-20-00 10:47p INDPAK TXT 39,351 02-25-00 10:08p WCR EXE 381,200 02-25-00 10:01p PAK XI 594 02-20-00 10:47p PAKIND TXT 38,936 02-25-00 10:08p README TXT 11,875 02-25-00 10:18p What is new ? 1) AutoBowl is improved and follows a strategy (?). 2) Fixed the bugs 1) Fixed Target and Asking Rate. It used to be off by one run 2) Scored No Balls will get one extra run for the no ball itself 3) Long output format modified to show score after every delivery. ************************************************************** Release Notes for WINCRICKET version 2.0.0.1 by Makarand Gadre. Please send all your comments, suggestions etc. to wincricket@wincricket.com 1:23 PM 2000/02/21 **************************************************************** To see this README.TXT properly, in NOTEPAD, set Word Wrap to ON **************************************************************** The ZIP file includes the following files. 02/21/2000 12:22p 381,200 WCRV2.EXE 02/21/2000 12:22p 527 IND.XI 02/21/2000 12:22p 594 PAK.XI 02/21/2000 12:22p 3,473 INDPAK.TXT 02/21/2000 12:22p 3,073 PAKIND.TXT 02/21/2000 12:24p 10,818 README.TXT What is new ? 1) Command line options for Virtual League managers. 2) AutoSelection of Bowlers improvement 3) Declaration option in a test match. 1) COMMAND LINE OPTIONS I have added a bunch of command line options to the game. /a : AutoPlay : Much better AutoPlay than previous version. I believe that is a lot of room for more intelligence in this fearure. This remains an interesting programming challenge. /nta : No Title Animation. I used this while testing, and actually may be useful if you are specifying Random Number seeds and trying to make different teams play under the same random number sequence(see /r option below). Title animation uses random number generation on Windows Timer event to figure out whether to knock down off stump or leg stump. Timer event is a low priority event so it may be missed. Specifying /nta will stop this title animator so no random number in the sequence will consumed by the title animator. /t : Test Match /o : One Day Match (this is default anyway) /t1=FileName : The filename of the first team /t1=FileName : The filename of the second team /s=FileName : The filename for output /d=millisec : The delay in milliseconds to wait between deliveries /l : Long output /r=number : Random number seed. Any positive integer. Uses current system time in milliseconds if unspecifed. /? : Show usage Dialog Box. 2) AUTOPLAY - AUTOSELECTION IMPROVEMENT. The about box or /? on the command line shows a dialog box which says : /a[=FileName] AutoPlay. Optional BowlerList FileName. Currently only /a is accepted. the FileName is ignored. The idea was to let the user specify in a text file the bowlers for the overs. I will implement this if someone cares. AutoSelect Bowler works a lot better that the half-witted Alpha version. The algorithm used is quite tricky and I will not waste this README file trying to explain it. If you are interested, please email me. AutoPlay plays the game in the Auto mode, i.e. if will close Wincricket once done, making it possible to put in a batch file. If you are putting it in a batch file, please use start /wait to go one by one or some technique to delay a little between to executions of WCR. I have seen that on faster machines, Win98/NT may start two or more instances of Wincricket at the same millisecond (the difference may be in microseconds, beyond the resolution of the timer) and all such games will then follow the same random number sequence. This will make things useless if you are playing s series. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AutoPlay Example : wcrv2 /d=100 /nta /a /t1=c:\myteams\world.xi /t2=c:\myteams\england.xi /s=c:\myscores\eng-world.txt will set delay to 100 ms between deliveries, will disable title animation will AutpPlay the match (autoselect bowlers and close WinCricket after the game is over) will read the first team from c:\myteams\world.xi Will read the second team from c:\myteams\england.xi will write output to c:\myscores\eng-world.txt and by default, will play a one day match (since /t is not specified) will not write ball-by-ball output (since /l is not specified) will use current system time in milliseconds as the Random Seed (since /r=nnnnn is not specified) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Note : The same Random Number seed can result in two different game results if the team order is changed, because of the difference in the characterstics of players. e.g. the command line : wcrv2 /a /nta /d=0 /t1=IND.XI /t2=PAK.XI /s=INDPAK.TXT /l /r=9630 produced INDPAK.TXT in which India beat Pakistan by 68 runs. wcrv2 /a /nta /d=0 /t1=PAK.XI /t2=IND.XI /s=PAKIND.TXT /l /r=9630 produced PAKIND.TXT in which Pakistan beat India by 18 runs. Notice that only the teams were swapped (and of course the name of the result file) 3) TESTMATCH Declaration of Inning. You can declare the inning at the time of the Choose Bowler dialog at the end of any over or at the Choose Batsman dialog whenever it appears. the testmatches are limited to 450 overs. (90 overs a day * 5 days) ********************************* ********************************* ********************************* Release Notes for Alpha version : Wincricket Alpha Version. WCRZIP.EXE is the self extracting archive. Running it will extract the file WCR.EXE and this file (WCR.TXT) in the current directory. What is new in this Alpha Version? Options Menu is now also available under Choose Players dialog Under the Options Menu, I have added support for 1) Test Matches (to be chosen before you start the match, after or before selecting the teams). You still cannot "DECLARE" an inning and there are no FOLLOW-ONs. Essentially you can play a 4 inning match, with a total of 450 overs. The internal ratios are adjusted so that the player properties for a One Day team will not have to be changed. Some other little things are also adjusted so that, say, more 4s per run will be hit as compared to OneDay matches etc. 2) Support for Output File format (long / summary). Long format gives a Ball-By-Ball output in addition to the scorecard. I also have added some command line options these have to start with a slash '/' and can be one or more of /nta = No title animation /t = Default to Test Match e.g in your program shortcut you can say WCR /t Under construction /a = AutoSelect i.e. program chooses the batsmen and the bowlers. Choosing batsmen simply follows the team order. Choosing bowlers is not fully implemented yet. It chooses the two best fast bowlers as the opening bowlers and then starts choosing randomly giving at least 2 over spells. I need to put much more intelligence in this feature, like in OneDay matches, keeping the last 4-5 overs for the best bowlers, and considering bowling change to break a budding or an established partnership, changing ends etc. etc. as if a human captain is thinking it over... Quite an interesting programming challenge. ********************************* ********************************* ********************************* Release Notes for Version 1. WinCricket I had written a DOS version of this Cricket simulator way back in 1991. Finally I got to writing a Win32 version. The only major real enhancement is "Extras". Forming the teams Line 1 : The name of the Team as one word. To name your team say, West Indies, you should put West_Indies or West.Indies or West-Indies The 11 lines that follow constitute the current team. The remaining lines are ignored. One line constitutes one player information. The different fields are delimited by spaces. Field 1 : PlayerName : As 1 word, no spaces. e.g. M.Waugh is OK, M Waugh is not Field 2 : General Batting Activity 0-999 Field 3 : Batting Risk 0-999 Field 4 : Batting Class 0-999 Field 5 : Keeper : Is the player the Wicketkeeper? 1 if yes, 0 if no Field 7 : Bowler : Is the player a bowler? 1 if yes, 0 if no Field 7 : Bowling Activity number 0-999 Field 8 : Bowling Risk Factor 0-999 Field 9 : Bowling type 1 = spinner, 2 = medium, 3= fast. Explanation of fields : General Batting activity : The bigger the number more exciting the batsman is. I would put 400 for Tendulkar which means that the batsman will successfully do something exciting in at least 400 balls out of 1000 he faces. So Rizwaan-Ul-Zamaan would be 200 or so. Batting Risk : The smaller the number, the less likely will the batsman make mistake. It is the number of balls in 1000 on which the batsman will get into trouble. Batting Class : The bigger the number, the more accomplished batsman he is. I would say Border or Gavaskar would have an index of 800+. Same would apply to Miandad batting in Pakistan with Pakistani umpires. This determines the number of times the batsman plays the right shot. This kind of counters the Batting Risk above. Keeper : 1 for yes 0 for no. If the player is designated to be the keeper, he cannot bowl in the current match and the following bowling numbers should not be entered. Bowler : 1 for yes 0 for no. If no, then the following fileds should not be present. Bowling Activity : The smaller the number, the tighter the bowler. A spinner with a flat trajectory, say, Ravi Shastri, would have a number of 250. Someone like Chandrashekhar or Quadir would have the factor around 400. Bowling Hazard : The bigger the number, the more beauties the bowler bowls. Lille, Holding, Donals and the likes would have the number bigger, say 150 or so. Here are two sample teams : Copy Paste them as IND.XI and RSA.XI and try out a game. India Tendulkar 400 100 700 0 1 350 100 2 Ganguli 390 110 600 0 1 350 100 2 Azharuddin 400 100 700 0 0 Kambli 370 110 600 0 0 Jadeja 370 110 500 0 1 350 100 2 Kanitkar 370 110 500 0 1 350 100 2 R.Singh 370 110 500 0 1 350 100 2 Mongia 370 120 400 1 Kumble 370 120 400 0 1 350 125 1 Srinath 400 120 400 0 1 350 125 3 Kuruvilla 370 120 300 0 1 350 110 3 Kulkarni 370 120 200 0 1 350 110 1 Raju 370 120 200 0 1 350 110 1 Prasad 370 120 200 0 1 350 125 3 Karim 370 120 400 1 Mohanty 370 120 100 0 1 350 110 3 Dravid 370 110 600 0 0 Siddhu 380 110 500 0 0 South_Africa Bacher 370 120 500 0 0 Kirsten 370 110 600 0 0 Kallis 370 110 600 0 1 350 100 2 Cullinan 370 110 600 0 1 Cronje 370 100 600 0 1 350 100 1 B.McMillan 370 100 500 0 1 350 100 2 Pollock 370 120 300 0 1 350 110 3 Richardson 370 120 400 1 Kluesener 400 120 400 0 1 350 110 3 Symcox 370 120 300 0 1 350 110 1 Donald 370 120 100 0 1 350 125 3 Gibbs 370 120 500 0 0 Rhodes 370 110 500 0 1 350 100 2 DeViliers 370 120 400 0 1 350 110 3 Boucher 370 120 400 1 18:53 98/03/12 ********************************* ********************************* *********************************