Exemplo n.º 1
0
        public ConnectFour(ConnectFourConfiguration config)
        {
            _config = config;

            _game = new ConnectFourGame(config);

            _players = new List <ConnectFourPlayer>();
        }
Exemplo n.º 2
0
        public ConnectFourGame(ConnectFourConfiguration config)
        {
            _rowCount = config.nRows;

            _columnCount = config.nCols;

            _winThreshold = config.winThreshold;

            _spacesLeft = config.nRows * config.nCols;

            InitializeBoard();
        }