A ZX81 or TS1000 target game. A target moves across the screen from left to right, starting again at a random place each time it reaches the right edge. Move your marker with 5, 6, 7 and 8 (the arrow keys) and press 0 to fire: a hit scores only when the marker and the target are on the same square. After 500 moves the game ends and shows the score.
Runs in 2K. Do not steer off the screen edge (the program does not check, and stops with an error).
The Plotter printed the program twice: first in May 1984, then again in October 1991 with lines 5 SLOW and 500 LET S=S+1, credited PROGRAM FROM V 2, N 5 BY TAD HENDRICKSON. The download is the 1991 listing, which runs as printed; the 1984 listing has 500 S=S+1 without LET, which the ZX81 will not accept.
Published in The Plotter May 1984 (Chase) and again in October 1991 (Chase).
Source Code
1 REM "CHASE"
5 SLOW
10 CLS
15 LET N=0
20 LET A=15
25 LET B=16
30 LET S=0
35 LET C=INT (RND*30)+1
40 LET D=INT (RND*20)+1
45 LET B$=INKEY$
50 PRINT AT A,B;CHR$ 133
55 PRINT AT D,C;CHR$ 6
60 LET N=N+1
65 IF N=500 THEN GOTO 200
70 PRINT AT A,B;" "
75 IF B$="5" THEN LET B=B-1
80 IF B$="8" THEN LET B=B+1
85 IF B$="6" THEN LET A=A+1
90 IF B$="7" THEN LET A=A-1
95 IF B$="0" AND A=D AND B=C THEN GOTO 500
97 IF B$="0" THEN PRINT AT D,C;"X"
100 PRINT AT D,C;" "
105 IF C=30 THEN GOTO 35
110 LET C=C+1
115 GOTO 45
200 PRINT AT 10,14;"SCORE IS= ";S
210 STOP
500 LET S=S+1
510 PRINT AT D,C;"X"
520 PRINT AT D,C;" "
530 GOTO 35Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

