add prevent default to space when game is over