Target-hit game ( 242 pas de programme )
Object of this game is to hit target using math as your range finder. Enter laser aim # by mentally doing the multiplication equation and EXE to see if you're on target, by *target-hit*.
7 PRINT "TARGET HIT ";
8 VAC
9 W=INT(5*RAN#+2)
10 A=INT(99*RAN#+2)
11 E$="LO"
12 F$="HI"
13 IF A<=33;PRINT E$;
14 IF A>=66;PRINT F$;
16 Y=1
17 D=B-B+Y
18 C=D+C
19 Z=A/2
20 PRINT "X's ";Z;" BY ";W;" ";
21 P=(A/2)*W
23 INPUT "AIM # IS ",B
24 IF P<>B THEN 8
25 PRINT "*TARGET HIT*";
35 PRINT " SHOTS FIRED ";C;":";
40 GOTO 8