use the arrow keys to move don't touch the ghost. you can phase through walls sometimes (and unsurprisingly the ghosts can too) also don't try to escape the maze through the proper exits, you can exit if you phase through the walls. but you can try interacting with the ghosts blocking the exits.
Pac-Man was created by Toru Iwatani of Namco. -Added a frame and a sort of light reflection to give it this slight "In The Arcade" feel. Fun Fact: The name of this project is actually the name of my creepypasta.