public Game(IGameConfigReader configReader) { if (configReader == null) { throw new ArgumentNullException("configReader is null"); } Config = configReader.ReadConfig(); GameState = new GameState(); GameState.Initialize(Config.InitialPlayer); }
public Game(IGameConfigReader configReader) { if (configReader == null) { throw new ArgumentNullException("configReader is null"); } Config = configReader.ReadConfig(); GameState = new GameState(); GameState.Initialize(Config.InitialPlayer); }