public override void YourMove(Position P) { if (PreMoves.Any()) { MakeMove(PreMoves.Pop()); } //I don't care else }
public override async void YourMove(Position P) { if (PreMoves.Any()) { MakeMove(PreMoves.Pop()); } else { int Move = -10; await Task.Run(() => Move = E.BestMove(P)); MakeMove(Move); } }