Add game ending configuration

supports max seconds, words and score

max words ends game automatically when everyone has reached word limit
(but doesn't yet enforce the word limit), while max score ends the game
when anyone reaches the score limit