Code:
0üC
Lbl 00
0üG
8üA
8üB
ClrHome
Lbl 10
0üG
Output(1,1," ========== I I
Output(A,8,"o
Output(4,B-1," "
Output(4,B,"0
(B+1)üB
Output(1,1,C
If B>11:Then
Goto 11:End
rand(5
getKeyüG
If Gø0:Goto 20
Goto 10
Lbl 11
Output(4,B+1," "
Output(4,B,"0
(B-1)üB
If B<6:Then
Goto 10:End
rand(5
getKeyüG
If Gø0:Goto 20
Goto 11
Lbl 20
If G=21:Then
Goto 21:End
If G=22:Then
Goto XX:End
Lbl 21
Output(A,8,"o"
rand(10
(A-1)üA
Output(A+1,8," "
If A=2:Then
ClrHome
Output(4,6,"Nice
Output(5,6,"Shot!":Pause
(C+1)üC
Goto 00:End
Goto 21
Lbl XX
ClrHome
Output(1,1,""
I would just like to know how to make it so when the goalie (the 0) hits the ball (the o) that how to catch that so it doesn't go right thru the goalie.
By the way if anyone wants to make fun of the crappy coding go ahead I made it in 20 minutes in algebra today.
Edit: And if you cannot figure out what the u's with the dots ontop it means ->.