Snake on a TI-84
#1
Hey guys, i'm trying to write up a snake game for my TI-84

Till now i got this:

ClrHome
4->A
4->B
1->C
While C=1
getkey->Z
If Z=/0
Then
Output(A,B,""
End
If Z=34
Then
A+1->A
End
If Z=24
Then
B-1->B
End
If B>9
Then
1->B
End
If B<1
Then
9->B
End
If A>8
Then
1->A
If A<1
Then
8->A
End
Output(A,B,"+"
randInt(1,8)->N
randInt(1,9)->O
Output(N,O,"."
If Z=105
Then
0->C
End
Output(1,10,"SCORE"
D=0
If N=A and O=B
Then
D+1->D
Output(3,10,D
End
End
ClrHome

My problems are:
I don't know how to put the snake moving
I don't know how to make the snake grow bigger by each "." it eats
I don't know how to make each dot appear individually; they all appear like FLOOD.

Thanks!, and bear in mind that i only started learning BASIC by looking at already made programs tuesday ;)

Edited, i missed the "While C=1"
Thanks given by:
#2
Seriously? I know that this is in Offtopic, and I'm not even saying you shouldn't ask here, but your chances of getting a useful reply are about 100 times higher on a forum dedicated to graphical calculator hacks.
Thanks given by:
#3
D: thanks for the help.
Hacks? lol
Thanks given by:
#4
(17 Jan 11, 06:26PM)titiPT Wrote: Hacks? lol

http://en.wikipedia.org/wiki/Hack_%28technology%29

"Cracking a computer" is just a small part of its meaning.
Thanks given by:
#5
Programming ain't cracking
Thanks given by:
#6
Hacking ain't cracking.
Not necessarily.
Somebody please make a Venn diagram?
Thanks given by:
#7
i see nobody here enjoys not paying attencion to math classes D:
Thanks given by:
#8
Enough with the TI-Calculator posts already!
Thanks given by:
#9
(18 Jan 11, 08:37PM)Darkbee Wrote: Enough with the TI-Calculator posts already!

WHY? :(
Thanks given by:
#10
(18 Jan 11, 08:39PM)titiPT Wrote:
(18 Jan 11, 08:37PM)Darkbee Wrote: Enough with the TI-Calculator posts already!

WHY? :(

It seems like everywhere I look we're talking about TI calculators on these forums here! No, TI calculators cannot run AC servers! No, TI calculators cannot join or create clans. No, you may not use your TI in live AC games to calculate the noob to l33tness ratio (double sided A4 "cheat sheets" are permitted though).

NO TI CALCULATORS!

There is one exception to the rule though. TI calculators are permitted to post to the forums as long as they don't ask how to create a server or clan.
Thanks given by:
#11
[Image: 2s10gub.jpg]

What about now? :D
Btw lol @ this:
(18 Jan 11, 09:35PM)Darkbee Wrote: No, TI calculators cannot run AC servers! No, TI calculators cannot join or create clans. No, you may not use your TI in live AC games to calculate the noob to l33tness ratio (double sided A4 "cheat sheets" are permitted though).

Thanks given by:
#12
Someone's a little sensitive about the Texas Instruments fad.
Thanks given by:
#13
snake on a TI-84...
yeah, solid snake would fit on a TI-84
Thanks given by: