
so can anyone help me??????????????????????????????
Posted 12 May 2006 - 10:05 PM
Posted 13 May 2006 - 12:48 AM
Posted 13 May 2006 - 02:35 AM
Posted 13 May 2006 - 02:40 AM
Posted 13 May 2006 - 03:42 AM
Posted 13 May 2006 - 03:55 AM
Posted 13 May 2006 - 03:58 AM
Posted 13 May 2006 - 06:14 AM
Norm Lbl 0 0->T ClrText Intg 18Ran#+2->A 6->B Intg 2Ran#+1->C 2->D A->E Do Do ClrText Locate A,B,"." Locate E,7,"..." B=7=>D<>2=>Goto 1 C=1=>Isz A D=1=>Isz B C=2=>Dsz A D=2=>Dsz B B=7=>A>=E=>A<=E+2=>2->D B=7=>Isz T B=1=>1->D A=1=>1->C A=21=>2->C Getkey LpWhile Ans=0 Ans=27=>3+E->E Ans=38=>E-3->E E>=20=>19->E E<=0=>1->E LpWhile A>=0 Lbl 1 Locate 7,4,"SCORE" Locate 7,5,T_ // the little black Disp triangle Goto 0
Posted 13 May 2006 - 10:14 AM
Posted 13 May 2006 - 02:57 PM
Posted 13 May 2006 - 05:28 PM
Posted 13 May 2006 - 05:29 PM
Edited by Andy.Davies, 13 May 2006 - 11:05 PM.
Posted 14 May 2006 - 12:28 AM
Posted 14 May 2006 - 02:55 AM
Posted 14 May 2006 - 04:55 PM
Posted 14 May 2006 - 09:14 PM
Posted 14 May 2006 - 09:36 PM
Posted 14 May 2006 - 10:03 PM
Posted 17 May 2006 - 12:25 AM
Posted 17 May 2006 - 08:16 AM
Posted 17 May 2006 - 09:11 PM
Posted 18 May 2006 - 06:58 AM
Posted 19 May 2006 - 09:07 PM
Posted 20 May 2006 - 01:38 AM
Posted 10 October 2006 - 01:21 AM
Posted 14 November 2006 - 03:40 PM
Posted 14 November 2006 - 05:40 PM
Posted 15 November 2006 - 01:18 PM
Posted 17 November 2006 - 10:27 AM
Posted 18 November 2006 - 08:03 AM
Posted 20 November 2006 - 09:54 AM
Posted 11 March 2007 - 04:57 AM
Here is a version of pong that I wrote quite recently.
Originally I got a pong game off the Sean tan Casio kingdom website but i accidentaly deleted that game.![]()
I thought it would be a good exercise to attempt to program it in myself. The game works in the same way, so there are bound to be some similarities in the code
2(Int 10Ran#)+1->C Int (2Ran#)->D 1->E~F 0->G ///number 0 not letter o C+1->A 7->B Do D=0=>Dsz A D=1=>Isz A E=1=>Dsz B E=0=>Isz B Getkey=38 And C>2=>C-2->C Getkey=27 And C<18=>C+2->C Clrtext Locate A,B,"*" /// Use degrees sign (OPTN,F6,F5,F1) Locate C,7,"===" A<2=>1->D B<2=>0->E B<2=>Isz G A>20=>0->D B>6=>1->E B>6=>A=\=C+1=>0->F While F Locate 6,1,"-GAME OVER-" Locate 1,3,"YOUR SCORE:" Locate 12,3,G
That was the basics of what i wrote but i also added a pause and high score function
Have fun
Posted 24 November 2007 - 05:15 PM
Nope, that =/= sequence is the [does not equal to] operator , on the calc a crossed over = signthe / is the division symbol just press the division key
Posted 01 December 2007 - 11:00 AM
It'si wrote out your program but when i go to run it it says syn error, but it displays the words game over and your score but thats it.
Posted 17 April 2008 - 09:06 AM
Here is PONG from Sean Tan (casiokingdom)'s website. I have fixed it so you can type it straight in.
Norm Lbl 0 0->T ClrText Intg 18Ran#+2->A 6->B Intg 2Ran#+1->C 2->D A->E Do Do ClrText Locate A,B,"." Locate E,7,"..." B=7=>D<>2=>Goto 1 C=1=>Isz A D=1=>Isz B C=2=>Dsz A D=2=>Dsz B B=7=>A>=E=>A<=E+2=>2->D B=7=>Isz T B=1=>1->D A=1=>1->C A=21=>2->C Getkey LpWhile Ans=0 Ans=27=>3+E->E Ans=38=>E-3->E E>=20=>19->E E<=0=>1->E LpWhile A>=0 Lbl 1 Locate 7,4,"SCORE" Locate 7,5,T_ // the little black Disp triangle Goto 0
Posted 29 April 2008 - 12:16 PM
Posted 03 May 2008 - 11:40 PM
Posted 28 May 2008 - 12:22 AM
---Game--- 2(Int 10Ran#)+1->C Int (2Ran#)->D 1->E~F 0->G C+1->A 0->S 7->B 3->L Lbl 1 Do D=0=>Dsz A D=1=>Isz A E=1=>Dsz B E=0=>Isz B Getkey=38 And C>2=>C-2->C Getkey=27 And C<18=>C+2->C C+1->V C+2->W ClrText Locate A,B,"*" Locate C,7,"---" A<2=>1->D B<2=0->E B<2=>Isz G A>20=>0->D B>6=>1->E A=W And B=7=>S+2->S A=C And B=7=>S+2->S A=V And B=7=>S+2->S B>6 And A=/=(C Or V Or W)=>L-1->L Locate 18,1,S L=3=>Locate 1,1,"***" L=2=>Locate 1,1,"**" L=1=>Locate 1,1,"*" L=0=>Prog "G-O" Goto 1 _ _ _ _ _ _ _ _ _ _ _ _ ---G-O--- ClrText 3->Q ///The variable "Q" means "quit?" (eg. 1 is yes, 2 is no, 3 is neutral) Locate 3,3,"Would you like" Locate 3,4,"To play again?" Locate 7,5,"YES ->" While Getkey=/=31 Getkey=27=>Locate 7,5,"NO <-" ///Both <- and -> in the quotes for YES and NO are the minus sign next to < or > Getkey=27=>1->Q Getkey=38=>Locate 7,5,"YES ->" Getkey=38=>0->Q Getkey=31 And Q=0=>Prog "Game" Getkey=31 And Q=1=>ClrText Getkey=31 And Q=1=>Stop WhileEnd
Posted 22 September 2008 - 02:40 AM
Posted 18 October 2008 - 09:48 PM
0 members, 1 guests, 0 anonymous users