goteOrderedPiecesInHand property

  1. @visibleForTesting
List<BoardPiece> goteOrderedPiecesInHand

Returns a list of board pieces sorted pawn to rook for sente

Implementation

@visibleForTesting
List<BoardPiece> get goteOrderedPiecesInHand =>
    _orderedPiecesInHand(gotePiecesInHand).reversed.toList();