Now knows when the game ends.