Ejemplo n.º 1
0
 public void SetUp()
 {
     availablePieces       = new AvailablePieces();
     availablePiecesCustom = new AvailablePieces(blackPawn: 1);
     whitePawn             = new Pawn(PieceColor.White, MovementDirection.Positive);
     blackPawn             = new Pawn(PieceColor.Black, MovementDirection.Negative);
 }
Ejemplo n.º 2
0
 public ChessBoard()
 {
     this.pieces = new object[MaxBoardHeight + 1, MaxBoardWidth + 1];
     PieceCounts = new AvailablePieces();
 }