Skip to main content

server/domain/cards/
starter_cut.rs

1pub use crate::domain::Card;
2
3/// The card turned up after the deal as the "starter".
4pub type StarterCut = Card;
5
6/// Trait for game states that have a starter card.
7pub trait HasStarterCut {
8    /// Returns the current starter card.
9    fn starter_cut(&self) -> &StarterCut;
10}