_________________________________________________________________________
Title: Laser
Version: 1.1
Author: Hidetake Jo (hidetakejo@twics.com)
Description: Assign a angle at which the laser should be fired and try yo
hit the small cup shaped object over the two short parrallel lines. The short parallel lines are the barrier,
The top, left, and right side of the screen, and the barrier
(the two parallel lines) will make the laser bounce back.
Score: (Hint: The more the laser bounces, the higher your score will be)
Number of bounces/number of tries * 100
_________________________________________________________________________
Command translation:
-> represents the key that stores data into a variable. This is the key
straight above the "DEL" key.
=> represents the then conditional statement. Push: "shift", "Range",
F1, F1.
/ represents the division symbol. (i.e. 6/3 = 2)
* represents the multiplication symbol. (i.e. 6*3 = 18)
=< represents less than or equal to. Push: "shift", "Range", F2, F6.
>= represents greater than or equal to. Push: "shift" "Range" F2 F5
=/= represents notequal to sign. Push: "shift" "7" "F2" "F2"
~ represents through sign. Push:: "shift" "ALPHA" "F3"
_ represents display sign. Push: "shift" "7" "F5" (i.e. A_)
- represents minus sign (i.e. 5-6)
Ran# represents random number Push: "shift" "5" "F2" ""F4"
_________________________________________________________________________
Program :
0->A~Z
1->T
40Ran#+1->A
80Ran#+1->B
60Ran#+1->U
Lbl 8
Cls
0->V
Range 1,99,1,1,99,1
Plot 5,1
Plot 5,7
Line
Plot 95,7
Line
Plot 95,1
Line
0->Q
Plot 5+B,50+A
Plot 1+B,50+A
Line
Plot 1+B,45+A
Line
Plot 5+B,45+A
Line
Lbl 6
Plot U+V,45
Plot U+V,40
V+1->V
V>=20=>Goto 1
Goto 6
Lbl 1
Plot 1,1_
"ANGLE"?->C
4sin C->G
4cosC->H
G->M
H->J
Lbl 9
Plot 1,50
Lbl 2
Plot J,M
G+M->M
J+H->J
M>=40=> M=<45=> J>=U=> J=__ 1+Q->Q
M>=40=> M=<45=> J>=U=> J=____ -G->G
M>=99=>-G->G
M>=99=>1+Q->Q
M=<1=>Goto 3
J=<1=>Abs H->H
J=<1=>1+Q->Q
J>=99=>-H->H
J>=99=>1+Q->Q
J>=1+B=> J=<5+B=> M>=45+A=> M=<50+A=> Goto 4
Goto 2
Lbl 3
T+1->T
0->Q
Goto 8
Lbl 4
Graph Y>=0
"YOU WIN"
"Tries="
T_
"BOUNCES="
Q_
"SCORE="
Q=0=>Q+1->Q
(Q/T)*100_
_________________________________________________________________________
__