Slides/Live Output
Day 1Day 2Day 3Day 4
Day 4Polish & Make It Yours
</> View code
What to test
  • 1You have 3 lives — die and respawn
  • 2Clear all pellets — level counter goes up
  • 3Each level the ghosts speed up
  • 4HUD shows score, level, and lives
  • 5Press R to restart
New concepts
Deep copy array: ORIGINAL_MAZE.map(row => [...row])
Multiple game states: gameOver, won
Lives system with respawn
Level counter — speed increases each level
HUD with score, level, and life icons