Your cannon sits at the left of the screen. Hold D to aim up, C to aim down and F to fire the laser across the screen. Stars come in from the right at random heights, and each wave moves faster. A hit prints SMASH and scores 150; after 1500 points the next wave starts. If a star reaches the cannon the game stops.
The keys are read with INKEY$, so hold them down. It fits in 1K. In January 1983 a reader sent a change to steer with a single key, and Syntax later printed Blast, which combines this game with Blast Effects.
Published in Syntax November 1982 (Star Hunter).
Source Code
1 RAND
2 LET R=0
3 LET P=0
4 LET R=R+1
5 LET A$="▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄"
10 LET A=11
20 LET B=0
30 LET O=INT (RND*20)+1
31 LET W=O+5
34 IF O-A>W-B THEN GOTO 30
40 CLS
41 PRINT AT 0,25;P
42 PRINT AT 0,10;"ATTACK WAVE ";R
50 PRINT AT A,B;"▐▄>"
60 PRINT AT A+1,B;" "
70 PRINT AT A-1,B;" "
80 IF INKEY$="D" THEN LET A=A-1
90 IF INKEY$="C" THEN LET A=A+1
100 PRINT AT O,W;"* "
110 LET W=W-R
111 IF W<2 AND ABS (A-O)<2 THEN STOP
113 IF W<2 THEN GOTO 10
120 IF INKEY$="F" THEN GOTO 150
140 GOTO 50
150 PRINT AT A,B+3;A$
151 PAUSE 5
152 CLS
160 IF A=O THEN GOTO 200
190 GOTO 50
200 PRINT AT O,W;"SMASH"
210 LET P=P+150
220 PAUSE 20
221 IF P>1500 THEN GOTO 3
240 GOTO 10Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

