In the command line version, if the use presses Ctrl-\, print the answer and then terminate the game.