So there's this game I saw where basically the goal is to have a ball move from one side of the screen to another, and I was wondering how people would optimize it. Here's the code: (Note the ball is supposed to move from one side to the other, and then go back to the original side)
Disp: "0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
Disp: " 0
prgm //Insert name of the program here
I would prefer if people provided hints (what command they would use or how they would use it) but not show any code. I'm a beginner-intermediate programmer so if anyone could help, I would greatly appreciate it.