Game 042 — Bouncing Ball

New concept: velocity (vx, vy) + boundary reflection. fileciteturn4file1L215-L225

Play

Watch the ball move diagonally and bounce. Then tweak speed and restart.

vx: 3 | vy: 2 | Bounces: 0

Learning Notes

🧩 What’s different from last game?

Now you separate position (x, y) from velocity (vx, vy), which makes motion and bouncing easy to reason about. fileciteturn4file1L260-L270

🔀 Optional challenge variants

Add gravity • Speed up after each bounce • Add multiple balls • Change color on bounce. fileciteturn4file1L274-L285