playerIndex is undefined when no player caused the end of the game. votes holds the players
who voted to terminate the game. It is empty when no vote ended the game, and in a replay,
because the server does not store who voted to kill the game in the database.
playerIndexis undefined when no player caused the end of the game.votesholds the players who voted to terminate the game. It is empty when no vote ended the game, and in a replay, because the server does not store who voted to kill the game in the database.