private void AddBlackPieces() { var fields = Board.Fields; var rook1 = new Rook(Black, Board, fields[0, 7]); var rook2 = new Rook(Black, Board, fields[7, 7]); var knight1 = new Knight(Black, Board, fields[1, 7]); var knight2 = new Knight(Black, Board, fields[6, 7]); var bishop1 = new Bishop(Black, Board, fields[2, 7]); var bishop2 = new Bishop(Black, Board, fields[5, 7]); var queen = new Queen(Black, Board, fields[3, 7]); var king = new King(Black, Board, fields[4, 7]); var pawn1 = new Pawn(Black, Board, fields[0, 6]); var pawn2 = new Pawn(Black, Board, fields[1, 6]); var pawn3 = new Pawn(Black, Board, fields[2, 6]); var pawn4 = new Pawn(Black, Board, fields[3, 6]); var pawn5 = new Pawn(Black, Board, fields[4, 6]); var pawn6 = new Pawn(Black, Board, fields[5, 6]); var pawn7 = new Pawn(Black, Board, fields[6, 6]); var pawn8 = new Pawn(Black, Board, fields[7, 6]); Black.AddPiece(rook1); Black.AddPiece(rook2); Black.AddPiece(knight1); Black.AddPiece(knight2); Black.AddPiece(bishop1); Black.AddPiece(bishop2); Black.AddPiece(queen); Black.AddPiece(king); Black.AddPiece(pawn1); Black.AddPiece(pawn2); Black.AddPiece(pawn3); Black.AddPiece(pawn4); Black.AddPiece(pawn5); Black.AddPiece(pawn6); Black.AddPiece(pawn7); Black.AddPiece(pawn8); }