Back to index

Table Tennis

Ping99 is a MSDOS based program for table tennis league data. I wrote this years ago in GWBASIC so the interface is keyboard based and a bit dated see below: Having said that it works really well ;)

Table tennis main menu


Just copy everything into a single directory, (or you can even run it from a floppy disk if you want) then run the file Div5a.bat

Multiple Leagues

Because I am only interested in one league, and then the interest only persists while we have a realistic chance of getting into the top two positions. The program is hard coded to read a file called teamname (containing the names of the teams & league), and result (containing the numeric data). This deficiency can be overcome by making multiple copies of the following files: Div5a.bat, Div5a.tns and Div5.res. Just load them into notepad, edit each new copy of the batch file and save each file with a suitable name. I have commented the batch file to make this easy.

When writing a web page the program simply creates a file called League.htm in your program directory. So if you want to create more than one you will need to keep renaming this file to avoid it being overwritten. Its not a bad idea to rename it anyhow because some ftp programs will turn League.htm into LEAGUE.HTM which (depending on the operating system on your web server) might not be the same file name. I reccomend making everything lower case and adding the 'l' to the file extention. I.e. 'filename.html'. This is because some servers do not recognise '.htm' as being a web page, only '.html'.

Additional Considerations For 'Open Source' Developers

Sorry about the short variable names. Most of the original code for this was written on a ZX81. These only supported fairly narrow monitors.

Download (78KB) Modified version now writes your league table as a web page:

Some Pictures of us practising (Who let him have a digital camera?)
Table tennis practice Table tennis practice Table tennis practice

Balls | Machinehead Home Page | Cycling Software | Other Software | Prices | FAQ

Designed by Nigel Jones