As a player, I want hazards that end the run and candy that increases score so that I have goals and stakes. Acceptance Criteria: - [x] Simple hazards spawn at safe intervals; collision ends the run and opens GameOver. - [ ] Candy spawns near platform paths; overlap removes candy and increments an on-screen score by a fixed value. - [ ] Score text is visible during the run. Tasks: - [ ] Obstacle component, basic spawn in SpawnManager, collision → GameOver. - [ ] Candy component, overlap → score++, remove candy. - [ ] Minimal HUD text for score; update on collection. - [ ] Test hazard loss and candy scoring together.
As a player, I want hazards that end the run and candy that increases score so that I have goals and stakes.
Acceptance Criteria:
Tasks: