static void Main(string[] args) { Player A = new Human(Color.White); Player B = new Human(Color.Black); Board board = new Board(A, B); do { board.ExecuteTurn(); } while (!board.MatchEnded()); Console.Clear(); board.PrintMatchResult(); }
static void AB() { Player A = new AlphaBeta(Color.White, 4); Player B = new RandomPlayer(Color.Black); Board board = new Board(A, B); do { board.ExecuteTurn(); board.Print(); Console.Read(); } while (!board.MatchEnded()); board.PrintMatchResult(); Console.ReadLine(); }