Use your arrow keys or [W,A,S,D] keys to navigate pacman.
To pause / resume the game press [SPACE] or [ESC] or just click into the game area.
Use swipe gestures to navigate pacman.
Alternatively use the Arrow Buttons underneath the game area to navigate pacman.
To pause / resume the game, touch the game area once.
Ghosts are creatures that hunt pacman and will kill him if they catch him.
Every ghost has its own strategy to chase down pacman.
InkyInky will stay in the ghost house until pacman has eaten at least 30 pills. His home is the bottom right corner.
BlinkyBlinky is the most agressive of the 4 ghosts. He will start chasing pacman right away, and aim directly at him. His home is the upper right corner.
PinkyPinky will start chasing pacman right away, he will always aim 4 fields ahead and 4 fields left of pacman. His home is the upper left corner.
ClydeInky will stay in the ghost house until pacman has eaten at least 2/3 of all pills. His home is the bottom left corner.
Ghost moodsThe ghosts have two different moods that change the way they act during the game.
This is the default mood. When ghosts are in scatter mood, they will just go to their home corner and stay there.
After a certain time the ghosts change their mood and want to go chasing pacman. This is indicated through the walls turning red.
The goal of every level is, to eat all the white pills without getting catched by the ghosts. One pill results in 10 points.
In every level there are 4 powerpills, which are a bit bigger than the regular ones. If Pacman eats those, he will get strong enough to eat the ghosts. You can see this indicated by the ghosts turning blue. One powerpill results in 50 points.
Eating a ghost results in 100 points. The soul of the ghost will return to the ghost house before starting to chase Pacman again.
Click to Play
If you understand German you can also read my blogpost about this site: "Pacman in HTML5 Canvas".