This game is written in plain JavaScript with jQuery. There is no backend/server side.
I built a simple assertion function for running tests on this project. To run tests, open devtools console and run:
devMode()
Most of the code is for the ghost AI. These article describe how the ghosts should behave from the game-player's perspective:
- http://gameinternals.com/post/2072558330/understanding-pac-man-ghost-behavior
- http://www.gamasutra.com/view/feature/3938/the_pacman_dossier.php?print=1
- https://www.webpacman.com/ghosts.html
"Pixel Emulator" https://www.fontspace.com/pixel-sagas/pixel-emulator