Cricket ã Tony Cima

Honey End Computing Services Limited.

Cricket is a Palm Pilot program for scoring one day (limited over) cricket. It is designed as a replacement for the traditional paper based cricket scoring method but is much easier to use and provides many more statistics and facilities. With the registered version, it is possible to save all the game details to a Windows 95/NT PC. A PC program is provided which creates a comma separated variable (CSV) file which can be imported into Microsoft Excel or Lotus 123 so that a full score sheet with statistics may be printed. Cricket is written in PocketC (by Jeremy Dewey) and PocketGUI by Klaus Rindtorff and requires the (free) PocketC runtime.

This package includes the following files:

Installation instructions

Install the .pdb and .prc files above using the usual Hotsync facility. Cricket should then appear on your application launcher.

Current game standard settings

Balls per over: 6

This cannot be changed in the current version, but I am interested to hear of any suggestions from users.

Setting up the game

The 'setup' screen provides the facility to enter team and player names. Alternatively, using the menu at the top of the screen, you may select the 'load' option to load previously saved player and team names. If no team and player names are entered, default values are provided (Team A/B and Player A/Bn). For each team, you may enter a squad of up to 22 player names. The number of players per team is entered at the foot of the screen. The default value is 11.

The 'overs per innings' is a numeric entry field. Any number may be entered. The default value is 20. A zero or text entry indicates unlimited overs. Selecting 'score' from the main menu displays the main scoring screen. From here you may swap teams to select the current batting side, change the strike batsman (Chng1) or non-strike batsman (Chng2) or swap the two current batsmen (Swap), or select the initial bowler from the list of team players (Change bowler). You are now ready to start scoring the game.

Scoring the game

The number of runs (0 to 6) is selected by tapping on the appropriate 'runs scored' area (default is 0). The type of runs (runs, wide, no ball, bye, leg bye) is similarly selected (default is 'runs'). If the strike batsman is out the OUT checkbox is selected and finally, the 'enter' button is pressed (e.g. if a successful ball is bowled with no runs scored, simply press the enter button). The score of each batsman is shown to the right of his name. The team score is shown at the top right hand corner of the screen in the format: runs/wickets:overs.balls .

Important notes on scoring play

The team's innings is deemed to have started when the first ball is bowled. Until that point teams and players may be swapped freely and no timings are recorded.

A team's innings is deemed to have finished when either:

  1. All but one of the wickets have fallen (10 when there are 11 players per team)
  2. The specified number of overs has been completed
  3. An innings has been declared (see below)

A batsman's innings is deemed to have started when he receives his first ball. At this point the player's status changes from 'not in' (not yet batted) to 'not out' and innings timings are recorded from this point.

A player's innings is deemed to have finished when he is given out. A batsman may also be retired and another player substituted without the loss of a wicket (see below).

When a batsman is out

On the delivery that terminated the batsman's innings, usually the strike batsman is the one dismissed and there are no runs scored. However the program caters for all possibilities. For instance, suppose a batsman hits the ball and tries to run two, and on the second run the non-strike batsman is run out. The procedure then is as follows:

  1. Credit the batsman with the runs in the normal way.
  2. Use 'Swap' to move the non-strike (out) batsman to the strike end (if necessary). Only the strike end batsman can be made out.
  3. Select the 'OUT' checkbox with 0 runs and 'wides' selected. (in this case, 0 'wides' indicates a ball was not bowled)
  4. A message will show that no statistics have been updated for this entry.
  5. Confirm the non-strike batsman as being out (run out)
  6. For 'run out', 'caught' and 'stumped', you will be asked for an 'assist fielder' (in this case the player in the field who ran him out)
  7. You will be prompted for a new strike batsman.
  8. Swap batsman ends if they are not correct.

No balls, wides, byes and leg byes

Just select the appropriate category. The batting and bowling statistics and over count are all adjusted correctly. SPECIAL CHANGE TO VERSION 1.1 IN SCORING NO BALLS. It is possible for a batsman to score runs from the bat off a no-ball. How this is scored depends on the local rules of the particular match. e.g. if a batsman hits a no ball for four runs, sometimes just four runs are added to the batsman's score. Sometimes an extra 'no ball' is recorded (total of five runs to the batting side). Sometimes two extras are awarded (total of six runs to the batting side).

To score no-balls correctly check the no-ball box and enter the number of TEAM EXTRAS that are required (which may be zero). The program will then ask you how many runs were scored 'from the bat'. Enter this, and all scores will be updated correctly.

Retiring a batsman

If a batsman has not yet received a ball (status 'not in'), he can be changed at will without any effect. If he has received a ball (status 'not out'), he will be moved to a retired status. Retired batsmen may be re-selected for play. As soon as he receives a further ball, his status will be changed to 'not out'. The batting statistics reflect the entire innings (including any period of retired absence).

Declaring an innings

Before any balls are received in a team's innings, teams may be swapped at will. However, if an innings is in progress, confirmation that the innings is declared will be asked for. If you reply 'no', the original innings will be continued. If you reply 'yes', the innings will be closed and no further changes allowed. The opposing team's score screen is then displayed.

Statistics

At any time you may select the statistics menu option to view player or team statistics. After the viewing, you will be returned to the batting team's score sheet. Summary statistics are available on screen, but full statistics are available with the Spreadsheet Extract program. These include:

Team batting statistics
Runs scored
Number of fours and sixes
Extras (broken down by type)
Overs
Run rate (per hour, per ball, per over)
Fall of wickets

Team bowling statistics
Overs bowled
Maidens bowled
Over rate (per hour)

Player batting statistics
Status (how out)
Runs scored
Number of fours and sixes
Assist fielder (if applicable)
Run rate (per ball received, per hour)

Player bowling statistics
Overs bowled
Maidens bowled
Wickets taken
Runs conceded
Wides conceded
No balls conceded

Saving data to files (registered version only)

At any time you may select the 'save' option from the main menu to save data to a local database (.pdb file). You will be prompted to either:

The .pdb file will be transferred to your PC at the next Hot Sync.

In addition, after every over, the entire game is saved to a file called 'backup' (note the lower case 'b'). This is so that, if you make a mistake in scoring or lose the program somehow, you can always recover to the start of the current over by loading the file called 'backup'

Loading data from files

You may load a previously saved file into the program which will automatically detect whether it is 'team and player names only', or a 'full restore' and inform you accordingly. File names are case sensitive and may include blanks (e.g. 'first test'), However, the spreadsheet extract program only accepts file names (without extension) of up to eight characters.

Registration

When you purchase a copy of the program, you will be sent an integer authorisation code. Select the 'Register' menu option and type in this code. This will create a local file (.pdb) called 'regcode' to save you having to enter the code every time you run the program, so please don't use 'regcode' or 'backup' as saved file names.

Comments

I hope you enjoy using the cricket program. If you have any questions or suggestions, please contact me at the address below. I will do my best to help.

Tony Cima

Tony@honeyend.com

Honey End Computing Services
Honey End
The Camp
Gloucester GL6 7EW
England