This is a high quality Pac-Man implementation from first principles written in Go, using the ebiten gaming library. It tries to strike a reasonable balance between accuracy and understandability. I have included some additional features such as an options screen offering various ways to adjust the game's difficulty and behaviour. Video & audio post-processing filters aim to give a flavour of playing on real hardware. If a Nakama server is available, it is used for recording high scores.
A novel 'electric' mode is included. Ghosts can positively or negatively charge the dots in the grid. If the grid's net charge strays too far from neutral, it enters the danger zone, and eventually becomes fatal. Pac man must restore balance by eating the charges before this happens.
Tip: while the ghosts are scared after eating a power pill, they cannot lay additional charges.
go build .
./ebiman./build-wasm.shThen visit localhost:8080 in your browser.
- Understanding Pac Man Ghost Behavior
- Simon Owen: Pac-Man Emulator
- Chris Lomont: Pac-Man Emulation Guide
- Jamey Pittman: The Pac-Man Dossier
- Frederic Vecoven: Pacman
- Arcade Longplay - Pac-Man (1980) Midway
- Pac-Man: Classic Arcade Game Video, History & Game Play Overview
- Classic Gaming: Pac-Man Technical Information