home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / c / cricket / !CSBHelp / Help / 1 next >
Encoding:
Text File  |  1994-08-28  |  5.7 KB  |  146 lines

  1. !csb
  2. TXT
  3. A simple yet powerful cricket scoring program.
  4. Licence
  5. ~~~~~~~
  6. The CSB suite is Freeware. It is freely distributable,
  7. provided all files are included.
  8. The suite comprises 3 applications, !CSB, !MakeTeam, the
  9. help server, !CSBHelp, plus the BASIC program MatchEdit.
  10.  
  11. Introduction
  12. ~~~~~~~~~~~~
  13.    CSB is a replacement for the standard paper-and-pencil
  14. scorebook. It has the advantage over this type of scorebook
  15. that it keeps track of both teams, can provide instant
  16. statistics, and doesn't make mistakes when runs and wickets
  17. start flowing fast.
  18.  
  19.    I wrote CSB after scoring for a cricket team for a
  20. season  and discovering that scoring is intricate and time-
  21. consuming work. I decided to write a program that would do
  22. all the work from a minimal human input, leaving me more
  23. time to watch the cricket. As the program grew in
  24. complexity, I added a statistics section and separated out
  25. the part of the program dealing with team creation.
  26.  
  27.   The CSB suite uses Jon Ribbens' excellent WimpExtension
  28. module to make its life easier; it expects to find version
  29. 2.18+ in your System:Modules directory or already loaded.
  30.  
  31. Use
  32. ~~~
  33.    To use CSB, you will first need to create two teams
  34. using the !MakeTeam software, discussed elsewhere. Run CSB
  35. and click on its icon. Drag your files to the indicated
  36. icons, set any options for limited overs or balls per over,
  37. and click 'OK'. Another window will pop up; use the menu
  38. icons to fill in the details CSB needs and click 'OK'. When
  39. you do this, the timer will start, so only do this as the
  40. batsmen come out. The main window will appear. 
  41.  
  42. The name of the facing batsman is shown, click 'Swap' to
  43. change this.
  44. Click on the menu icon to choose the bowler for the over,
  45. and the writable icon will become ungreyed. Click the
  46. window's 'toggle size' gadget for a list of codes. Enter
  47. the code after the ball has been bowled (wait for that 'leg
  48. byes' signal!) and either press Return or click 'OK'.
  49. When there is an interval for tea, rain, etc., or you want
  50. to save the match, click the 'Halt' icon. Remember to click
  51. the icon again (now saying 'Resume') before you start
  52. again.
  53. When the team runs out of wickets, overs, or declares, CSB
  54. will notice and display appropriate messages.
  55. When the second innings is complete, the 'Save Match
  56. Record' window will be displayed.
  57.  
  58. And that's all there is to it! Just a couple of points
  59. though:
  60. Wides - you must enter the number, eg x1.
  61. No-balls - there is a difference between 'n' & 'n1'. Think
  62.            about it.  
  63. Wickets - just enter 'w' even if runs are scored, or if a
  64.           batsman retires. Then pick the appropriate radio
  65.           option, fill in any menu icons, and pick the next
  66.           batsman. The writable by the 'Run Out' option is
  67.           for any runs scored.
  68.  
  69. Extra Features
  70. ~~~~~~~~~~~~~~        
  71. Clicking Menu on the input window will reveal a pink hippo.
  72. 'Scoreboard' gives you a green kangaroo, and 'Score' gives
  73. you a small window that you can drag around with the score
  74. and wickets in it. 'Update' will update the team files, and
  75. also the team sheets. The 'Save' option reveals a yellow
  76. polka-dotted killer whale, enabling you to save a match
  77. mid-way through (for safety, during tea, etc.) Make sure
  78. you 'Halt' the game before you save, or the time the
  79. batsmen've been at the crease will be messed up.
  80.  
  81. If you explore the icon bar menu, you'll find 'Batting' &
  82. 'Bowling' options. These reveal team sheets/performance
  83. synopses/whatever you want to call them, they're there.
  84. Clicking on a player's (highlighted) name will reveal a
  85. smaller window with detailed statistics on the player.
  86. To change the teams round, click menu and choose an option.
  87.  
  88. Both scoreboards and the team sheets are updated
  89. intermittently; you can rely on them being accurate at the
  90. start of an over, or when you choose 'Update' from the main
  91. menu.
  92.  
  93. Limitations
  94. ~~~~~~~~~~~
  95. CSB cannot deal with leg byes scored off no-balls. I've
  96. just realized how serious this is - they're such a rare
  97. occurence it didn't occur to me. You're probably best to
  98. put them down as wides (getting both the extra ball and
  99. increasing extras), and hoping the bowler doesn't notice.
  100.  
  101. CSB treats men out 'Retired hurt' as 'Out' - it increases
  102. the wickets and won't let them back in again.
  103.  
  104. CSB cannot deal with test matches - it was designed with
  105. schools cricket in mind, which is declaration or limited
  106. overs.
  107.  
  108. CSB cannot deal with (silly) batsmen being run out on
  109. no-balls. This happened for the first time I've ever
  110. seen the other day, and I admit I had to think about why it
  111. was out.
  112.  
  113. Forthcoming Improvements
  114. ~~~~~~~~~~~~~~~~~~~~~~~~
  115. Fixing of above limitations.
  116. Addition of an 'Error Corrector' for those mis-interpreted
  117.   signals and games you get to part way through.
  118. Addition of a pane to the main window displaying info on
  119.   50s, 100 partnerships, run rate, or 'Geoffrey Boycott'
  120.   style comments. 
  121. More statistics - not outs, strike rate, economy rate etc.
  122. A 'match stats' window - fall of wicket data, toss won by,
  123.   anything else I think of.
  124. Anything else I think of/get suggested.
  125.  
  126. Final Comments
  127. ~~~~~~~~~~~~~~
  128. As I write this on the eve of England's first Texaco trophy
  129. match with South Africa, our cricket season is drawing to a
  130. close. Please don't discard this program - fiddle with it,
  131. and if you like it, if you want to use it, write to me for
  132. the latest version with any suggestions, comments, etc.
  133.  
  134. Anyone out there wanna write a cricket sim?
  135.  
  136. © John Fairhurst 08-24-94
  137.  
  138. Addendum, 08-28-94
  139. ~~~~~~~~~~~~~~~~~~
  140. I've added in a Basic program, 'MatchEdit', to enable you
  141. to edit saved matchfiles - altering mistakes, re-signals,
  142. or doing something manually to deal with the 'above
  143. limitations'. The program's simple to use, but there's
  144. little error checking - don't do crazy things. Remember to
  145. re-load your edited file into !CSB after you've finished.
  146.