Arrow keys to move. The light blue teleports you to the opposite wall. Collect the pellets. Avoid the ghosts. Press space for a projectile. There are 3 levels. Click Pacman.
This was a thing we had to do for school. Credit to Pacman for the idea and sound effects. - This is very old, buggy and inefficient because I made it very quickly, a long time ago.