예제 #1
0
        public ConnectFour(ConnectFourConfiguration config)
        {
            _config = config;

            _game = new ConnectFourGame(config);

            _players = new List <ConnectFourPlayer>();
        }
예제 #2
0
        public ConnectFourGame(ConnectFourConfiguration config)
        {
            _rowCount = config.nRows;

            _columnCount = config.nCols;

            _winThreshold = config.winThreshold;

            _spacesLeft = config.nRows * config.nCols;

            InitializeBoard();
        }