It now checks for game over