Squash Trainer

BASIC 10-Liner game for the Sinclair ZX81

Squash Trainer is an action game for the Sinclair ZX81 8-bit home computer. It is my (first?) entry to the 12th edition (2023) of the BASIC 10 Liner Contest, PUR-80 category. The game has been entirely coded in BASIC language and the program is 10 lines long. Since the ZX81 BASIC allows only one statement per line, the program consists of only 10 statements.

You love playing squash, but let's face it, you're not so good at it (I'm just kidding, I'm sure you're a great player; I just needed something for the game introduction). But don't worry, with the right training you'll become an ace! So... let's start!

Move your racket by tapping O (left) or P (right). Every time you hit the ball, it will bounce with a random direction (I told you you are not so good at Squash!) and you will score one point. If you score 99 points, your training is over. If the ball falls beyond your racket, the game is over and you can start again by pressing R (RUN) and then Enter. Your current score is displayed in the top-left corner of the screen.

Download

Download NowName your own price

Click download now to get access to the following files:

squashtrainer-download.zip 275 kB
Version 1