10) Catch the Falling Stars

10) Catch the Falling Stars

Move the basket to catch falling items.
animationcollisionrequestAnimationFrame
Score: 0

How it works: Simple game loop with requestAnimationFrame. Mouse moves the basket; stars fall; AABB collision counts catches.

Learning outcomes: canvas basics, animation timing, hit-testing.