when does the game end?
fixed merge