In p5, make a rectangle that follows your mouse.
I think you can see where this is going...
We’re going to build a version of pong, one of the first computer games.
✱ Pretend you’re talking to the ball. How should it move?
✱ What about the paddles. How should they move?
✱ Redo your pseudocode, using
✱ How did writing pseudocode change how your wrote p5 code?
|🎯 Learning Targets|
|I can write the pseudcode for pong.|
|I can use built-in variables to make a paddle follow my mouse.|
|I can write p5 comments to explain my iteration and thinking.|