Score: 0
Highscore: 0 by anonymous.
The game does NOT respond to keyboard buttons. On smartphones, the Pacman is supposed to follow your finger, to go in the direction where you last tapped. In case that doesn't work, you have buttons below the maze. On computers, it's playable by mouse.
You can see the source code, with the comments in Croatian, here.
UPDATE on 24/03/2021: I have added eyes on the ghosts, but that works only in Firefox.
UPDATE on 27/03/2021: The eyes of the ghosts no longer rely on the Firefox-specific SVG features.
UPDATE on 09/11/2026: If you want to compete for highscore, use the arrow keys on a computer keyboard, or be able to shoot the ghosts with arrows, go to where a version of this program is hosted on Microsoft Azure. You will need to register and log in in order to play the PacMan game there.