To play press the left, right, up and down arrow keys to do magic to the ghost. Press space key to restart.
I got my idea from a similar project by another scratcher.