Pac-Man Web
The classic, playable in the browser
About the project
A web version of Pac-Man built from scratch in JavaScript and drawn on Canvas.
It has a maze, four ghosts, score and remaining-pellet counters, a game over screen and on-screen buttons for playing on a phone.
Technical highlights
- 01 Hand-written game loop and collision detection
- 02 Ghosts with their own movement
- 03 Keyboard controls plus on-screen buttons for mobile