[−][src]Function pleco::helper::prelude::piece_value
pub fn piece_value(piece: Piece, eg: bool) -> Value
Returns the value of a Piece
. If eg
is true, it returns the end game value. Otherwise,
it'll return the midgame value.