Make client create game checks match server

Add template parameters for the max and min number of players allowed. That way
we are more likely to have the same checks on the client and the server.