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 ArticleRe: 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 ArticleThanks, 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
More Pages to Explore .....