public IBoard MakeMoveOnNewBoard(IMove move) { var _board = new Dictionary <IField, IFigure>(); foreach (var _place in gameBoard) { _board.Add(_place.Key, _place.Value); } _board[move.GetField()] = move.GetFigure(); return(new StrategoBoard(_board)); }
public double MakeMove(IMove move) { move.SetPointsForMove(Evaluator.RateMove(move.GetField(), this)); gameBoard[move.GetField()] = move.GetFigure(); return(move.GetPointsForMove()); }