Publication: Timex Sinclair User
Pub Details: Timex Sinclair User n3 (Volume 1, Issue 3)
Date: August 1983
Pages: 39
STAR GATES, (by D. E. Healey) is a 1K program in which the sun is about to go super nova. A fleet of space ships is waiting to depart from Earth to escape the holocaust. The object is to guide each ship through star gates.
The space ship is situated at the bottom of the screen and key 1 is used to move vertically upwards and keys Q and P to move left and right respectively.

10 LET A=PI/PI
20 LET B=PI-PI
30 LET R=B
40 LET V=600
50 LET S=20
60 LET T=15
70 LET Y=15
80 CLS
90 LET X=INT (RND*25)
100 PRINT AT Y,X; "*█*"
110 PRINT AT S,T; " ▞▚ "
120 PRINT AT S+A,T+A; "██"
130 LET V=V-A
140 IF INKEY$="Q" THEN LET T=T-A
150 IF INKEY$="P" THEN LET T=T+A
160 IF INKEY$="1" THEN LET S=S-A
170 IF T < B THEN LET S=S-A
180 IF T > 25 THEN LET T=25
190 IF V=B THEN GOTO 500
200 IF S=B THEN GOTO 350
210 IF T=X AND S=Y-A THEN GOTO 300
220 IF S=Y-A AND T <> X THEN GOTO 50
230 GOTO 110
300 LET Y=Y-5
310 GOTO 80
350 LET R=R+A
360 GOTO 50
500 CLS
510 PRINT AT 10,11; "GAME OVER"
520 PRINT AT 12,11;R
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.