FANDOM


Description Edit

Chase is a simple graphical game in which you are the Theta symbol and you are trying to avoid the Pi and get to the G. When you hit a wall, you go to the opposite side. I may add a tick counter and a high score board at a later date.


Commands Needed Edit


Code Edit

:5→A
:1→B
:5→C
:16→D
:randInt(1,8)→E
:randInt(2,15)→F
:While 1
:ClrHome
:Output(A,B,"θ"
:Output(C,D,"π"
:Output(E,F,"G"
:getKey→K
:If Ans=24:Then
:B-1→B
:End
:If Ans=25:Then
:A-1→A
:End
:If Ans=26:Then
:B+1→B
:End
:If Ans=34:Then
:A+1→A
:End
:If A>8:Then
:1→A
:End
:If A<1:Then
:8→A
:End
:If B>16:Then
:1→B
:End
:If B<1:Then
:16→B
:End
:If A>C:Then
:C+1→C
:End
:If B>D:Then
:D+1→D
:End
:If B<D:Then
:D-1→D
:End
:If A=E and B=F:Then
:Goto 1
:End
:If A=C and B=D:Then
:Goto 2
:End
:End
:Lbl 2
:ClrHome
:Disp "You Lost"
:Goto E
:End
:Lbl 1
:ClrHome
:Disp "You Won"
:End
:Lbl E

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.