Card Game owns the rules engine of a card game in any engine: zones, draw, costs, effect resolution, rewards and balance math, including the run structure of a roguelike deckbuilder. Engine skills supply the data assets and the hand UI.
The agent fixes a reference game and its numbers first, models every card instance in exactly one zone, picks a stack or queue for resolution and prices cards against a power budget. It then runs bot-driven tests for zone invariants, shuffle uniformity, replay and trigger loops.
What You Get
- A zone model where each card has a unique id and lives in exactly one zone
- A draw and play pattern with overdraw rules and a limbo zone for resolving cards
- A power budget method and deck math for dilution, copies and cycle time
- A reward loop design: three cards offered, pick one or skip, with removal in the economy
- A five-part test list: zone invariant, shuffle uniformity, replay hash, trigger loop cap and a bot-sized first enemy
- A reference on the effect interpreter, stack versus queue, targeting and cost curves
Common Use Cases
- Building a Slay the Spire or Balatro style deckbuilder
- Fixing cards that duplicate, vanish or resolve in the wrong order
- Debugging a shuffle that feels streaky or a replay that drifts
- Sizing the first enemies from the measured damage of the starter deck
What Makes It Unique
It turns card design into checkable numbers. A bot plays thousands of legal turns to prove each card id stays in one zone, a chi-square shuffle test catches bias, and the starter deck’s measured damage sizes the first enemies. It also documents design traps such as trigger loops and the pull to add hidden pity rules to deck draws.
Under The Hood
The skill is a SKILL.md with one reference file on effect resolution. The agent reads your card data and rules code, edits it and writes test code, such as a bot that plays random legal turns and a shuffle uniformity test, and runs it with your project’s test tooling. The reference snippets are pseudocode and engine RNG calls. The skill cites outside wiki pages in its version notes but does not tell the agent to fetch web pages or call services.