/// <summary> /// MainGame constructor /// The board is made out of hexagones /// 0,0 is on the top left and /// 7,7 is on the bottom right. /// </summary> public MainGame() { _log.Debug("Starting Game"); Board = new Plateau(8, 8); _pointManager = new PointHelper(); _isolationHelper = new IsolationVerificationHelper(Board); _endGameHelper = new EndGameHelper(); _movementHelper = new MovementVerificationHelper(Board); _aiEasy = new AiEasy(Board); _aiMedium = new AiMedium(Board); // her would the AI hard initialization Players = new List <IPlayer>(); CurrentPlayer = null; StateChanged?.Invoke(this, null); //sets the game in th ready state }
public AiMedium(IBoard plateauParam) { MainBoard = plateauParam; _movementManager = new MovementVerificationHelper(MainBoard); }