As it stands, there is no global key allowing a player to quit; the game must be ended by closing the window in which it runs.