pieceValues property

Map<String, int>? pieceValues

The relative values of pieces. These are usually already set in the PieceType definitions, so only use this if you want to override those. For example, you have a variant where a pawn is worth 200 instead of 100, but you still want to use the normal pawn definition.

Implementation

Map<String, int>? get pieceValues => data.pieceValues;