vb_master Posted October 30, 2003 Share Posted October 30, 2003 I wrote a BASIC Pong game for my Ti-83. The ball bounces and then stops and goes back and forth after bouncing off the left paddle. 16->X 4->Y 4->C 1->D 4->E 15->F 0->P ClrHome AxesOff Lbl 1 ClrHome Output(E,F,"0") Output(C,D,"]") Output(Y,X,"[") getKey->K If K=25 Y-1->Y If K=25 E-1->E If K=34 Y+1->Y If K=34 E+1->E If Y=9 Y-1->Y If Y=0 Y+1->Y If F=D+1 F+1->F If F=X-1 F-1->F Goto 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.