예제 #1
0
        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));
        }
예제 #2
0
 public double MakeMove(IMove move)
 {
     move.SetPointsForMove(Evaluator.RateMove(move.GetField(), this));
     gameBoard[move.GetField()] = move.GetFigure();
     return(move.GetPointsForMove());
 }