Quantcast
Channel: Pong scorekeeper
Browsing latest articles
Browse All 5 View Live

Pong scorekeeper

I want to add a score keeping function to this so it displays how many times you have bounced the ball while playing. Here is my current code: 5→A:4→X 1→S;1→T randInt(1,8→Y Repeat K=105 or X=1 and A≠Y...

View Article



Re: Pong scorekeeper

3→A:4→X 1→S:1→T 0→B randInt(1,8→Y Repeat K=45 or X=1 and A≠Y ClrHome Output(A,1,"I Output(Y,X,"O Output(1,15,B B+(X=1 and A=Y→B getKey→K max(1,min(8,A+(Ans=34)-(Ans=25→A T(Y>1 and...

View Article

Thanks, and code update.

Thanks earthnite! Here is an updated code: Lbl R 5→A:4→X 1→S:1→T 0→B randInt(1,8→Y Repeat K=105 or K=45 or X=1 and A≠Y ClrHome Output(A,1,"I" Output(Y,X,"O" Output(1,1,"Score:" Output(1,7,B B+(X=1 and...

View Article

(no title)

for some reason the code does not work

View Article

(no title)

this has many flaws in this

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images