blackPieces function
Array of the black pieces to setup the board.
Implementation
List<Piece> blackPieces() {
return [
Rook(isWhite: false),
Knight(isWhite: false),
Bishop(isWhite: false),
Queen(isWhite: false),
King(isWhite: false),
Bishop(isWhite: false),
Knight(isWhite: false),
Rook(isWhite: false)
];
}