Publication: LISTing Newsletter
Pub Details: LISTing Newsletter September 1994
Date: September 1994
Pages: 7
YOU ARE a little fly which has been guzzling the jam from a sandwich when suddenly the two halves of the bread start to close. You must use cursor keys 5 and 8 to reach a hole in the bread before you are crushed to death.
The game runs on the ZX-81 in 1K and was written by Erik Smit of Leidschendam in the Netherlands.
5 LET A$="████████████████"
6 LET F=6
7 LET O=0
8 LET R=0
9 LET Y=0
10 LET A=21
11 LET B=INT (RND*15)
12 LET Y=Y+1
13 LET A=A-1
14 CLS
15 PRINT AT Y,0;A$;AT A,0;A$
16 PRINT AT Y,B;" "
17 PRINT AT A,B;" "
18 LET F=F-(INKEY$="5" AND F>0)+(INKEY$="8" AND F<15)
19 PRINT AT 11,F;
21 LET N=PEEK 16398+256*PEEK 16399
23 LET N=PEEK N
25 PRINT "*"
27 IF N=128 THEN GOTO 100
50 IF A=0 OR Y=21 THEN GOTO 80
60 IF R<10 THEN GOTO 12
70 GOTO 110
80 LET O=O+1
82 LET R=R+1
84 GOTO 9
100 LET O=O-1
105 IF R<10 THEN GOTO 12
110 PRINT ;"SCORE ";O
SINCLAIR USER September 1984
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.