Removed an extra (nested) "gameOver" function that was either calling "win" or "lose" twice on some confirmation clicks.
(btw, really messy code. Needs cleanup.)