fantasy_realms_unofficial_api 0.1.0

An unofficial API for the Fantasy Realms card game.
Documentation
use super::*;

pub(crate) const BELL_TOWER: Card = Card {
    name: Name::BellTower,
    suit: Suit::Land,
    strength: 8,
    adder: None,
    wild: None,
    modifier: None,
    immunity: None,
    blanks: None,
    bonus: Some(bell_tower_bonus),
    penalty: None,
};

pub(crate) fn bell_tower_bonus(hand: &ScoringHand) -> i16 {
    if hand.number_of_suit(Suit::Wizard) > 0 {
        15
    } else {
        0
    }
}