Use the mouse cursor to move. If you lose, click flag to retry. If you're in the middle of the game, and you wish to reset, press r.
Thanks to Mr. Mishma!