Firepower

See all articles from The Plotter v2 n2
Author(s): Roger Valentine
Publication: The Plotter
Pub Details: The Plotter v2 n2 (Volume 2, Issue 2)
Date: February 1984
Pages: 6

From: THE TIMEX SINCLAIR 2068

In “FIREPOWER“, you are actually in control of the spaceships lasers. The screen shows the view through your gun sights.

You have 60 seconds to shoot down as many enemy ships as you can by catching them in your sights (two points) or in the cross-hairs (one point).

A cross wire hit does NOT destroy the enemy, and therefore it SHOULD be possible to score.

Three points for every vertical traveling ship (by catching it first in your top crosswire, and then, immediately afterwards, in the center of your sights).

Two points for every diagonally traveling ship, by either making a direct hit, or catching it with two successive cross wire hits.

Use keys “5,” “6,” “7,” ” and “8” to move your sights. Use key “0” to fire ONLY for cross wire shots. Firing is automatic when you have a ship directly in your sights.

   5 FOR j=USR CHR$ 144 TO USR CHR$ 144+7: READ a: POKE j,a: NEXT j
10 DIM a$(65): LET a$(1)=CHR$ 124: LET a$(32)=CHR$ 45: LET a$(34)=CHR$ 45: LET a$(65)=CHR$ 124
15 BORDER 5: PAPER 5: INK 0: OVER 1: CLS
20 FOR j=1 TO 50: PRINT AT INT (RND*22),INT (RND*32);"*": NEXT j
25 LET s=0
30 LET x=11: LET y=15
35 POKE 23673,0: POKE 23672,0
40 LET t=0
45 LET b=0
100 LET t1=INT ((PEEK 23673*256+PEEK 23672)/60)
105 IF t<>t1 THEN BEEP .01,t: LET t=t1
110 PRINT AT 0,0; OVER 0;"SCORE ";s;"TIME ";t
115 IF t>=60 THEN GO TO 1000
120 IF NOT b THEN LET b=INT (RND*31)+1: LET a=1: LET d=INT (RND*3)-1: GO TO 130
125 PRINT AT a,b;CHR$ 144: LET a=a+1: LET b=b+d
130 IF a=21 OR b=0 OR b=32 THEN LET b=0 GO TO 200
135 PRINT AT a,b; INK 6;CHR$ 144
200 PRINT AT x,y; INK 8;a$
205 LET p=(x+1)*22+y: LET p1=a*22+b: IF p=p1 THEN BEEP 1,50: LET s=s+2: PRINT AT a,b;CHR$ 144: LET b=0: GO TO 220
210 IF INKEY$<>"0" THEN GO TO 220
215 IF ABS (p-p1)=1 OR ABS (p-p1)=22 THEN BEEP .5,50: LET s=s+1
220 LET x1=x+(INKEY$="6" AND x<19)-(INKEY$="7" AND x>0)

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.