handDrop property
bool
handDrop
Whether this is a drop move where the piece came from the hand to an empty square, e.g. the drops in Crazyhouse.
Implementation
bool get handDrop => drop && from == HAND;
Whether this is a drop move where the piece came from the hand to an empty square, e.g. the drops in Crazyhouse.
bool get handDrop => drop && from == HAND;