Klax
{0,0,0,1} -> List 1
{0,0,0,1} -> List 2
{0,0,0,1} -> List 3
{0,0,0,1} -> List 4
{0,0,0,1} -> List 5
ViewWindow 1,127,0,1,63,0
For 7 ->A To 30 Step 4
Getkey=31 => Goto0
Text A-4,35," "
For 1 ->B To 2
Text A,35,"K"
Next
Next
For 7 ->A To 30 Step 4
Getkey=31 => Goto0
Text A-4,50," "
For 1 ->B To 2
Text A,50,"L"
Next
Next
For 7 ->A To 30 Step 4
Getkey=31 => Goto0
Text A-4,65," "
For 1 ->B To 2
Text A,65,"A"
Next
Next
For 7 ->A To 30 Step 4
Getkey=31 => Goto0
Text A-4,80," "
For 1 ->B To 2
Text A,80,"X"
Next
Next
For 7 ->A To 30 Step 4
Getkey=31 => Goto0
Text A-4,84," "
For 1 ->B To 2
Text A,84,"!"
Next
Next
For 57 ->A To 32 Step (-)4
Getkey=31 => Goto0
Text A+2,35," "
Text A,35,"============="
Next
For 1 ->A To 31
Getkey=31 => Goto0
Text 40,A," BY:"
Next
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} -> List 6
140 ->C
For 19 ->B To 25
For 69 ->A To 50 Step (-)1
Getkey=31 => Goto0
Not List 6[C] => Green PlotOn A,B
Dsz C
Next
Next
Orange Text 40,74,"( Rc) (-)98" Disp Lbl 0
ClrText
For 1 ->A To 7
Locate 1,A,"#"
Locate 21,A,"#"
If A <>4
Then Locate 5,A,"I"
Locate 9,A,"I"
Locate 13,A,"I"
Locate 17,A,"I"
IfEnd
Next
10 ->A
4 ->B
7 -> theta
0 ->D~K
Do
Isz theta
If Not Frac ( theta/8)
Then Int 7 Ran#+1 -> r
4( Int 5 Ran#)+2 ->C
0 ->D
IfEnd
Not Frac ( theta/2) => Isz D
If Getkey=28 And B=5
Then Dsz B
A/4+.5 ->F
F=1 => List 1 =4 => Goto1
F=2 => List 2 =4 => Goto1
F=3 => List 3 =4 => Goto1
F=4 => List 4 =4 => Goto1
F=5 => List 5 =4 => Goto1
If F=1 And List 1 <4
Then E -> List 1[ List 1 ]
List 1 +1 -> List 1
E=1 => Locate A,9- List 1 ," slash slash slash"
E=2 => Locate A,9- List 1 ,"###"
E=3 => Locate A,9- List 1 ," Deg> Deg> Deg>"
E=4 => Locate A,9- List 1 ," 10^x 10^x 10^x"
E=5 => Locate A,9- List 1 ,"==="
E=6 => Locate A,9- List 1 ," theta theta theta"
E=7 => Locate A,9- List 1 ," aster aster aster"
IfEnd
If F=2 And List 2 <4
Then E -> List 2[ List 2 ]
List 2 +1 -> List 2
E=1 => Locate A,9- List 2 ," slash slash slash"
E=2 => Locate A,9- List 2 ,"###"
E=3 => Locate A,9- List 2 ," Deg> Deg> Deg>"
E=4 => Locate A,9- List 2 ," 10^x 10^x 10^x"
E=5 => Locate A,9- List 2 ,"==="
E=6 => Locate A,9- List 2 ," theta theta theta"
E=7 => Locate A,9- List 2 ," aster aster aster"
IfEnd
If F=3 And List 3 <4
Then E -> List 3[ List 3 ]
List 3 +1 -> List 3
E=1 => Locate A,9- List 3 ," slash slash slash"
E=2 => Locate A,9- List 3 ,"###"
E=3 => Locate A,9- List 3 ," Deg> Deg> Deg>"
E=4 => Locate A,9- List 3 ," 10^x 10^x 10^x"
E=5 => Locate A,9- List 3 ,"==="
E=6 => Locate A,9- List 3 ," theta theta theta"
E=7 => Locate A,9- List 3 ," aster aster aster"
IfEnd
If F=4 And List 4 <4
Then E -> List 4[ List 4 ]
List 4 +1 -> List 4
E=1 => Locate A,9- List 4 ," slash slash slash"
E=2 => Locate A,9- List 4 ,"###"
E=3 => Locate A,9- List 4 ," Deg> Deg> Deg>"
E=4 => Locate A,9- List 4 ," 10^x 10^x 10^x"
E=5 => Locate A,9- List 4 ,"==="
E=6 => Locate A,9- List 4 ," theta theta theta"
E=7 => Locate A,9- List 4 ," aster aster aster"
IfEnd
If F=5 And List 5 <4
Then E -> List 5[ List 5 ]
List 5 +1 -> List 5
E=1 => Locate A,9- List 5 ," slash slash slash"
E=2 => Locate A,9- List 5 ,"###"
E=3 => Locate A,9- List 5 ," Deg> Deg> Deg>"
E=4 => Locate A,9- List 5 ," 10^x 10^x 10^x"
E=5 => Locate A,9- List 5 ,"==="
E=6 => Locate A,9- List 5 ," theta theta theta"
E=7 => Locate A,9- List 5 ," aster aster aster"
IfEnd
0 ->E~F
IfEnd
If C=A And D=4 And Not Frac ( theta/2)
Then r ->E
Isz B
B=6 => Goto1
IfEnd
r=1 => Locate C,D," slash slash slash"
r=2 => Locate C,D,"###"
r=3 => Locate C,D," Deg> Deg> Deg>"
r=4 => Locate C,D," 10^x 10^x 10^x"
r=5 => Locate C,D,"==="
r=6 => Locate C,D," theta theta theta"
r=7 => Locate C,D," aster aster aster"
D>1 => Locate C,D-1," "
If C <>A And D=4 And Frac ( theta/2)
Then Locate C,D," "
Isz H
IfEnd
B=4 => Locate A,4,"---"
If Getkey=27 And A <>18
Then A+4 ->A
A>4 => Locate A-4,4," "
IfEnd
If Getkey=38 And A <>2
Then A-4 ->A
A<18 => Locate A+4,4," "
IfEnd
E=1 => Locate A,4," slash slash slash"
E=2 => Locate A,4,"###"
E=3 => Locate A,4," Deg> Deg> Deg>"
E=4 => Locate A,4," 10^x 10^x 10^x"
E=5 => Locate A,4,"==="
E=6 => Locate A,4," theta theta theta"
E=7 => Locate A,4," aster aster aster"
If Not Frac ( theta/2)
Then Locate 1,2,10 Frac (I/10)
Locate 1,1, Int (I/10)
If List 1 =4
Then If List 1 <>0
Then If List 1 = List 1
Then If List 1 = List 1
Then Isz I
1 -> List 1
For 5 ->G To 7
Locate 2,G," "
Next
IfEnd
IfEnd
IfEnd
IfEnd
If List 2 =4
Then If List 2 <>0
Then If List 2 = List 2
Then If List 2 = List 2
Then Isz I
1 -> List 2
For 5 ->G To 7
Locate 6,G," "
Next
IfEnd
IfEnd
IfEnd
IfEnd
If List 3 =4
Then If List 3 <>0
Then If List 3 = List 3
Then If List 3 = List 3
Then Isz I
1 -> List 3
For 5 ->G To 7
Locate 10,G," "
Next
IfEnd
IfEnd
IfEnd
IfEnd
If List 4 =4
Then If List 4 <>0
Then If List 4 = List 4
Then If List 4 = List 4
Then Isz I
1 -> List 4
For 5 ->G To 7
Locate 14,G," "
Next
IfEnd
IfEnd
IfEnd
IfEnd
If List 5 =4
Then If List 5 <>0
Then If List 5 = List 5
Then If List 5 = List 5
Then Isz I
1 -> List 5
For 5 ->G To 7
Locate 18,G," "
Next
IfEnd
IfEnd
IfEnd
IfEnd
IfEnd
H=20 => Goto1
If Getkey=31
Then Do
Cls
For 1 ->G To 5
Text 30,50,"PAUSED!"
Next
LpWhile Getkey <>31
IfEnd
LpWhile 1
Lbl 1
ClrText
" "
" "
Green " GAME OVER!"
" "
" "
" TOTAL SCORE:"
Int (1000I/(H+1))
Stop
Edited by samuelJohnson, 18 January 2019 - 02:38 PM.