This is a faithful recreation of the Pac-Man and Ms. Pac-Man arcade games reverse engineered in javascript.
In order to play, the files must be placed on a web server and loaded in Chrome, Firefox, or Edge. Safari does not work
My goal in this project was to get as close to pixel perfect as possible. And I think it's fairly close, but there are some inconsistencies still. The game includes all credit/title scenes and cut scenes for both Pac-Man and Ms Pac-Man.
I've also coded in a gameboard observing algorithm for potential use in an A.I. implementation.
Shift: Insert Credit
Enter: 1 Player Start
2: 2 Players Start
Move: Arrow Keys or WASD
Space: Pause Game
F: Advance Game One Frame
Play here: https://jrhollis.github.io/jspacman/
I'm doing some explainer videos on youtube: https://www.youtube.com/playlist?list=PLYcVWsOwv3wiCBwBko-ygKS6KZqs6UbeH