コード例 #1
0
 public double UndoMove(IMove move)
 {
     gameBoard[move.GetField()] = null;
     return(-move.GetPointsForMove());
 }
コード例 #2
0
 public double MakeMove(IMove move)
 {
     move.SetPointsForMove(Evaluator.RateMove(move.GetField(), this));
     gameBoard[move.GetField()] = move.GetFigure();
     return(move.GetPointsForMove());
 }