A card game engine for TCGs, primarily Magic: The Gathering but with support for others
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding card definition data structure

+8
+8
src/game.rs
··· 20 20 tapped: bool 21 21 } 22 22 23 + pub struct CardDefinition { 24 + id: CardDefId, 25 + name: String, 26 + cost: u32, 27 + // abilities: Vec<Ability> 28 + // TODO: Implement abilities later 29 + } 30 + 23 31 pub struct Zone { 24 32 id: ZoneId, 25 33 owner: PlayerId,