so can anyone help me??????????????????????????????
? Pong ?
#41
Guest_noob#63_*
Posted 12 May 2006 - 10:05 PM
so can anyone help me??????????????????????????????
#42
Posted 13 May 2006 - 12:48 AM
Hope that all helps.
#43
Guest_noob#63_*
Posted 13 May 2006 - 02:35 AM
#44
Guest_noob#63_*
Posted 13 May 2006 - 02:40 AM
#45
Posted 13 May 2006 - 03:42 AM
#46
Guest_noob#63_*
Posted 13 May 2006 - 03:55 AM
#47
Guest_noob#63_*
Posted 13 May 2006 - 03:58 AM
#48
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
#49
Posted 13 May 2006 - 10:14 AM
#50
Guest_noob#63_*
Posted 13 May 2006 - 02:57 PM
#51
Guest_noob#63_*
Posted 13 May 2006 - 05:28 PM
it says it at this part of the code
ans=38=>E-3->E
it pionts to the negitive sign saying its the proglem
plaese help me
#52
Guest_noob#63_*
Posted 13 May 2006 - 05:29 PM
Edit 1:
never mind that last write i just forgot a line
Edit 2:
ok i was playing it after i re tryied it and it worked until the ball went to bounce off the left side.it sais syn erroe and said it was in this line:
locate A,B,"." can you tell me what i did wrong plaese help!!!!!!!!!!!!!!!!!!!!!!
irealy want this game to work properly.
Edit 3:
ok i now have it working becouse i thought it was a negitive but it realy was a minis(a noob mustake)
well any ways i was wondering if someone could write me a new pong game with a computer player for a casio fx 9750 g plus.and plaese post it here.
Andy.Davies: Please edit posts reather than just posting repeatedly. i have merger all four of your posts
Edited by Andy.Davies, 13 May 2006 - 11:05 PM.
#53
Guest_NOOB#63_*
Posted 14 May 2006 - 12:28 AM
#54
Guest_NOOB#63_*
Posted 14 May 2006 - 02:55 AM
ON THIS LINE:
Cls
ViewWindow 1,60,1,1,64,1
0->A~Z
1->Z
1->V
Plot 1,10
Plot 59,10
Line
Plot 1,54
Plot 59,54
Line
Text 5,40,"-PONG PRO-"
Text 57,9,"SPEED:"
Text 57,38,V
1->A~C
10->B
1->D
30->G~H
Text 57,58,"TIME:"
Text 30,5,"I"
Text 30,120,"I"
While Z=1 ///RIGHT HERE IT SAYS SYN ERROR
PlotOn A,B
PlotOff A,B
A+C->A
B+D->B
B>49 => -V ->D
B<14 => V->D
S+0.25->S
Frac S=0 => Text 57,85," " {7 spaces}
Frac S=0 => Text 57,85,S
If GetKey=28
Then V+1->V
V>5 => V-1->V
C<0 =>-V->C
C>0 =>V->C
D>0 => V->D
D<0 => -V->D
Text 57,38," " {1 space}
Text 57,38,V
IfEnd
IfGetKey=37
Then V-1->V
V<1 =>V+1->V
C<0 =>-V->C
C>0 =>V->C
D>0 => V->D
D<0 => -V->D
Text 57,38," " {1 space}
Text 57,38,V
IfEnd
If GetKey=72
Then G-7->G
G<12 => G+7->G
Text G,5,"I"
Text G+7,5," " {1 space}
IfEnd
If GetKey=71
Then G+7->G
G>47 => G-7->G
Text G,5,"I"
Text G-7,5," " {1 space}
IfEnd
If GetKey=32
Then H-7->H
H<12 => H+7->H
Text H,120,"I"
Text H+7,120," " {1 space}
IfEnd
If GetKey=31
Then H+7->H
H>50 => H-7->H
Text H,120,"I"
Text H-7,120," " {1 space}
IfEnd
IF A <6
Then B >= 64-G => B =< 64-G+7 => V->C
IfEnd
If A >53
Then B >= 64-H => B =< 64-H+7 => -V->C
IfEnd
A >65 =>2->Z
A<-2 => 3->Z
WhileEnd
Z=2=>Text 30,45,"LEFT WINS"
Z=3=>Text 30,45,"RIGHT WINS"
#55
Posted 14 May 2006 - 04:55 PM
1) Register. It lets you track topics more easily and you can edit your posts
2) Please do not post over and over again the same thing. We are not such a busy forum and so you have to show some patience. You will get anwsered, but if people have to read through dozends of posts saying the same thing then they'll get annoyed!
In any case welcome to the forum
#56
Guest_noob#63_*
Posted 14 May 2006 - 09:14 PM
#57
Posted 14 May 2006 - 09:36 PM
#58
Guest_noob#63_*
Posted 14 May 2006 - 10:03 PM
#59
Guest_noob#63_*
Posted 17 May 2006 - 12:25 AM
#60
Posted 17 May 2006 - 08:16 AM
2) What do you mean with cat file opener? FA-123?
You need to provide information if you want anwsers!!!
#61
Guest_noob#63_*
Posted 17 May 2006 - 09:11 PM
#62
Posted 18 May 2006 - 06:58 AM
I don't see a use in writing something that already exists 3 (!) times!
#63
Guest_Guest_*
Posted 19 May 2006 - 09:07 PM
#64
Posted 20 May 2006 - 01:38 AM
#65
Guest_NOOB#64_*
Posted 10 October 2006 - 01:21 AM
IT Breakout BY Hidetake Jo
the website where its found
#66
Guest_Guest_*
Posted 14 November 2006 - 03:40 PM
#67
Posted 14 November 2006 - 05:40 PM
btw. reading the manual can do wonders!
#68
Guest_Guest_*
Posted 15 November 2006 - 01:18 PM
#69
Guest_Guest_*
Posted 17 November 2006 - 10:27 AM
#70
Posted 18 November 2006 - 08:03 AM
#71
Guest_Guest_*
Posted 20 November 2006 - 09:54 AM
#72
Guest_noobie_*
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
#73
Guest_GOTOman_*
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
Iwonder who wrote it in the program in such an 'obviously understood' way , AFAIK writing != as in C would be easier to understand, or putting a comment
#74
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.
LpWhile F
instead of
While F
#75
Guest_dexter_*
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
I've tried this code and can't for the life of me figure out how to fix the problem. on the line Locate A,B,"." there is a syn error. It says the the ',' after the 'B' is the problem.(Locate A,B,".")
If anyone could help it would be much appreciated
#76
Guest_Andy_*
Posted 29 April 2008 - 12:16 PM
Are there any good ego-shooter games?
If yes, i need the text.
thx Andy
#77
Guest_jason_*
Posted 03 May 2008 - 11:40 PM
#78
Guest_Guest_*
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
I have modified this data to have three lives, and also continually display the score. There is a problem, though. No matter where the ball goes, even if it does touch the paddle, you still lose a life. Is there some code I missed/a problem? (The "B>6 And A=/=(C Or V Or W)=>L-1->L" is my guess as to where I went wrong)
#79
Guest_jK_*
Posted 22 September 2008 - 02:40 AM
#80
Guest_Guest_Ben_*_*
Posted 18 October 2008 - 09:48 PM
Okay, I finally got it to work. You have to change "B>6 And A=/=(C Or V Or W)=>L-1->L" into 3 separate "if" statements, such as:
"B>6 And A=/=C => L-1 -> L"
"B>6 And A=/=V => L-1 -> L"
"B>6 And A=/=W => L-1 -> L"
(I also, in the meantime, have made it much better, however, there is no way to transfer it to my computer.)
*Unless there are enough requests*
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



