This is my second try writing a javascript pacman clone. This time I decided to use Impact.js which is a very nice javascript game engine (I highly recommend you to buy it. It is really worth it! https://impactjs.com/)
There are a few things to do:
-
Clean the code and add comments
-
Add the sounds
-
Fix some bugs (sometimes the ghosts get stuck)
-
Do some optimizations for 60 fps
-
Add a multiplayer feature
This game is property of Namco Bandai. I am just trying to help people who wants to write/learn how to code games.
I took a lot of ideas about the game and ghoster's AI from this web site: https://pacman.holenet.info/
Please read that and you will understand how amazing is the pacman game. I did my best (well...almost) to make it perfect and pretty similar to the arcade version. If you have suggestions let me know.
You can play the game here:
http://www.hg10101.com/games/jspacman/index.html
http://www.fastcolabs.com/3010050/v0/pac-man-vs-us-honoring-the-33rd-birthday-of-a-video-game
Enjoy!
Harry