Does anyone have a pretty short source code for a game on the TI 83 plus?
Here is a quick one:
randInt(0,99→A
Repeat A=B
ClrHome
Input "GUESS 0-99:",B
"CORRECT!
If A>B
"HIGHER
If A<B
"LOWER
Pause Ans
End
And another:
ClrHome
Disp "1=ROCK","2=PAPER","3=SCISSORS
Input A
If not(max(A={1,2,3
Return
randInt(1,3
Disp "COMPUTER:",Ans
3fPart(1+(A-Ans)/3→A
"TIE
If A=2
Then
"LOSE
Else
If A=1
"WIN
End
Pause Ans
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Haha I would use the Menu command instead of Input just for readability there.
Thanks for the help but I have a question. I copied the snake source code from tibasicdev but when the game starts its just the 0 going across the screen and if I press a button it displays 1 and then the program ends. Did I input the code in wrong?
Yes.
Sunrise 3 Progress: 30%
Size: around 20 KB, not including the save lists and in-game RAM.
Can you give an link to the snake code? I will want to look, if I understand the code. :)
Wake me, when you need me.
Sorry for the SUPER late post. Anyways if you Google "Snake Tibasicdev" it should be the first one. Sorry, I can't post links yet.
This avalanche game is pretty short and easy to type in. Sorry I'm a bit late.
DelVar L1
5->dim(L1
For(X,1,7
Disp "
End
Repeat Ans
L1(4->L1(5
L1(3->L1(4
L1(2->L1(3
L1(1->L1(2
randInt(1,16->L1(1
Output(8,Ans,0
Disp "
getKey
X+(Ans=26)-(Ans=24
Ans+16((Ans=0)-(Ans=17->X
Output(3,Ans,8
Ans=L1(5
End