allow game restarts

the game can now restart anew without closing when it stops either by
terminating condition or error by pressing Enter. Game also closes by
pressing Escape at any time.