Professional Documents
Culture Documents
Pong Game in 15 Minutes
Pong Game in 15 Minutes
--
Control
2. Make paddle do something Make the mouse control the paddle (-) 3. Make the ball do something: move around Make the ball start in the middle of the screen Make the ball move horizontal (-----) (point 9 0 and move 1 0 steps) Make it bounce back from the edges of the screen Make it bounce back in any direction (0 3 6 0) 4. Make the ball do something: the danger zone If the ball hits the danger zone, make it stop 5. Stop the ball from going into the danger zone If the ball hits the paddle, make it go back in another direction (-1 4 0 2 20 )
Counter
variables
Sounds