Use the arrow keys to navigate - You can press the direction before you reach a turn and Pacman will attempt to turn when he reaches it.
Thanks to @Griffpatch for the orijinal project. I have changed it a little bit.