M25! Type a direction, and keep doing so until eventually, randomly, you will win the game.