Function libcoinche::game::can_play
source · [−]pub fn can_play(
p: PlayerPos,
card: Card,
hand: Hand,
trick: &Trick,
trump: Suit
) -> Result<(), PlayError>
Expand description
Returns true
if the move appear legal.