static void DiagnoseFdUpMoves() { Game g = new Game() { Rows = 6, Columns = 7, PiecesToWin = 4, TimeLimitSeconds = 30000 }; g.Initialize(); g.AcceptMove(Players.Black, 3); g.AcceptMove(Players.Red, 4); g.AcceptMove(Players.Black, 3); g.AcceptMove(Players.Red, 3); MinimaxCs.Minimax m = new MinimaxCs.Minimax(Players.Black); int col = m.MINIMAX_DECISION(g); }
public MinimaxPlayer(Players id, Players opponent, string name) : base(id, opponent, name) { minimax = new MinimaxCs.Minimax(this.ID); }