public ConnectFour(ConnectFourConfiguration config) { _config = config; _game = new ConnectFourGame(config); _players = new List <ConnectFourPlayer>(); }
public ConnectFourGame(ConnectFourConfiguration config) { _rowCount = config.nRows; _columnCount = config.nCols; _winThreshold = config.winThreshold; _spacesLeft = config.nRows * config.nCols; InitializeBoard(); }