public Move DecideMove(Board board, PieceColor color) { telemetry = new HighSpeedTelemetry(); var now = DateTime.Now; ExpandMoveTree(board, color); var duration = (DateTime.Now - now).TotalSeconds; Console.Title = "Tree Generation took: " + duration; var selectedMove = SelectMove(board, moveTree, color); moveTree = moveTree.CounterMoves[selectedMove]; return(selectedMove); }
public AbstractPlayer(int maxRecurseDepth) { telemetry = new HighSpeedTelemetry(); this.maxRecurseDepth = maxRecurseDepth; }
public AbstractPlayer() { telemetry = new HighSpeedTelemetry(); maxRecurseDepth = 3; }