mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 09:14:12 +00:00
game start delay 5 seconds
This commit is contained in:
@@ -9,6 +9,7 @@ export interface Config {
|
||||
gameCreationRate(): number
|
||||
lobbyLifetime(): number
|
||||
numBots(): number
|
||||
turnsUntilGameStart(): number
|
||||
}
|
||||
|
||||
export interface PlayerConfig {
|
||||
|
||||
@@ -4,8 +4,11 @@ import {Config, PlayerConfig, Theme} from "./Config";
|
||||
import {pastelTheme} from "./PastelTheme";
|
||||
|
||||
export const defaultConfig = new class implements Config {
|
||||
turnsUntilGameStart(): number {
|
||||
return 50
|
||||
}
|
||||
numBots(): number {
|
||||
return 1000
|
||||
return 20
|
||||
}
|
||||
player(): PlayerConfig {
|
||||
return defaultPlayerConfig
|
||||
|
||||
Reference in New Issue
Block a user