You can exit mini game by clicking spacebar again! That's why there's also a tutorial page in the game :D