Friday 29 May 2015

Hi every one today is game of the month day okay. So every month I post a Game I have  made from scratch. So today is a game called chase. There is a hard version and a easy version. Same code but just about 4 or 5 extra lines. I'll tell you were the hard lines are and if you want to add them you just have to write them in that same place okay. Also this --> means the store button witch is one up from the on button.


So here is the code

:4-->Y:8-->X
:
:Lbl F
:
:randInt(1,16)-->A
:randInt(1,8)-->B
:randInt(1,16)-->Z This is a hard line you can choose to put it in or not.
:randInt(1,8)-->V  Hard line put it in if you choose
:
:Lbl G
:
:ClrHome
:
:Output(Y,X,"X"
:
:Output(B,A,"+"
:
:Output(V,Z,"+"   This is a hard line put it in if you choose
:
:getKey-->K
:
:If K=24:Then
::X-1-->X
:End
:
:If K=26:Then
::X+1-->X
:End
:
:If K=25:Then
::Y-1-->Y
:End
:
:If K=34:Then
::Y+1-->Y
:End
:
:If X=A and Y=B
:Goto F
:
:If X=Z and Y=V This is a hard line put it in if you choose
:Goto D This is a hard line put it in if you choose
:
:Goto G
:
:Lbl D This is a hard line put it in if you choose
:Disp "YOU DEAD"This is a hard line put it in if you choose
:Disp "ENTER TO"This is a hard line put it in if you choose
:Disp "RESTART"This is a hard line put it in if you choose
:
:If  K=105This is a hard line put it in if you choose
:Repeat GThis is a hard line put it in if you choose

Okay thats it and if you did the easy the X should chase the + and when they touch the +goes to a different interval. The hard one there is 2 +s and that if you touch the wrong one you die okay.
Thanks

Seth

No comments:

Post a Comment