Inside GameServerConfig there are a number of fields e.g.
minPlayersPerGame
maxPlayersPerGame
maxWaitForPlayersMs
Currently only minPlayersPerGame is used in GameManager and it cannot be configured.
TODO:
The idea is that as bots join we wait until there are at least minPlayersPerGame, we then wait for up to maxWaitForPlayersMs milliseconds for maxPlayersPerGame players to register. When either max players have registered or the timeout has occurred we start a game.
Inside GameServerConfig there are a number of fields e.g.
minPlayersPerGamemaxPlayersPerGamemaxWaitForPlayersMsCurrently only minPlayersPerGame is used in
GameManagerand it cannot be configured.TODO:
CmdLineParserGameManagerto use all three parameters.The idea is that as bots join we wait until there are at least
minPlayersPerGame, we then wait for up tomaxWaitForPlayersMsmilliseconds formaxPlayersPerGameplayers to register. When either max players have registered or the timeout has occurred we start a game.