Ejemplo n.º 1
0
        public Game(IGameConfigReader configReader)
        {
            if (configReader == null)
            {
                throw new ArgumentNullException("configReader is null");
            }

            Config    = configReader.ReadConfig();
            GameState = new GameState();

            GameState.Initialize(Config.InitialPlayer);
        }