cardinal-kernel 0.1.1

Headless, deterministic rules engine for turn-based, TCG-like games.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct PlayerId(pub u8);

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct CardId(pub u32);

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct ZoneId(pub &'static str);

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct PhaseId(pub &'static str);

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct StepId(pub &'static str);