Use the arrow keys to move pacman. Press space if you get stuck.
I am amazed it actually works. Please look at my other projects.