cards
Cards described as data and decks built from them. `Cards.card{ id, name, suit, rank, cost, type, text, reversed, effects, art, back, color, number, tags, data }` checks and fills in a card (unknown fields warn, a missing id errors); `Cards.deck{ name, cards = { def | { def, copi…
cardsKit.cards
Cards described as data and decks built from them. Cards.card{ id, name, suit, rank, cost, type, text, reversed, effects, art, back, color, number, tags, data } checks and fills in a card (unknown fields warn, a missing id errors); Cards.deck{ name, cards = { def | { def, copies = n } } } expands copies into every physical card; Cards.short and Cards.compare (aces high) help games compare and log cards. Used by every other cardsKit part and by game code that defines its own deck.
Scoped to this part · feeds back into the world's score.