Exemplo n.º 1
0
        public DamkaBoard CloneSkip(int fromY, int fromX, int toY, int toX, DamkaBoard board)
        {
            DamkaBoard newBoard = board.Clone();

            newBoard.Skip(fromY, fromX, toY, toX);
            return(newBoard);
        }
Exemplo n.º 2
0
 public void AppendFromDamkaBoard(DamkaBoard board)
 {
     for (int i = 0; i < 8; i++)
     {
         for (int j = 0; j < 8; j++)
         {
             this.board[i, j].SetPieceWithText(board.GetPieceByIndex(i, j));
         }
     }
     this.damkaBoard = board.Clone();
 }