How to Make a Deckbuilding Game
A deckbuilder is a game about choosing what to add and what to leave out. Here is how to build the card pool, the synergies and the fights that make those choices matter.

Key takeaways
- Start from a weak, boring starter deck. Every card the player adds should feel like an upgrade and a direction.
- Design archetypes (three or four per character) with cards that scale with each other, and keep a few generic cards that fit any deck.
- Encounters should test different deck weaknesses: scaling, burst, many enemies, long fights. Show enemy intents so every turn is a puzzle.
To make a deckbuilding game, give the player a small, weak starter deck, a turn loop of drawing cards and spending energy to play them, and a steady stream of choices about which new cards to add after each fight. The design work is in three places: the card pool and its synergies, the encounters that test the player’s deck, and the pacing of rewards across a run. This guide uses the single-player roguelike deckbuilder (the Slay the Spire family) as its model, because it is the most popular form and the most approachable to build.
The turn loop
Most roguelike deckbuilders share one loop, and it is a good default:
- 01At the start of your turn, gain 3 energy and draw 5 cards.
- 02Play cards by paying their energy cost (usually 0 to 3). Attacks deal damage, skills give block or effects, powers apply for the rest of the fight.
- 03End your turn: unplayed cards go to the discard pile, unused energy and block are lost.
- 04Enemies act according to the intent they showed at the start of your turn.
- 05When the draw pile is empty, shuffle the discard pile into a new draw pile.
The reshuffle rule is what makes deckbuilding a genre: every card you add dilutes every other card. A deck of 10 strong cards sees each card every other turn. A deck of 30 sees each one every six turns. Thin, focused decks are strong, which is why removing cards is as valuable as adding them.
The starter deck should be boring on purpose
Slay the Spire’s first character starts with five Strikes, four Defends and one signature card. The basic cards are deliberately plain so that the first reward already feels exciting and points toward a strategy. Copy the principle: 10 cards, mostly basic attack and defend, plus one card that hints at the character’s identity. Players should want to remove the basics by the end of the run.
Building the card pool
A first deckbuilder needs around 60 to 75 cards for one character: enough for runs to differ, few enough to balance. Split them by rarity (roughly half common, a third uncommon, the rest rare), and organize them by archetype.
Archetypes create synergy
An archetype is a strategy that a set of cards supports together. For a character who is an alchemist, you might design:
- Poison: apply poison stacks that damage each turn. Payoff cards double poison or spread it. Weak early, overwhelming in long fights.
- Brew: cards that create temporary Potion cards in your hand. Payoffs trigger whenever you play a Potion.
- Volatile: high-damage cards that also damage you or exhaust (remove themselves for the fight). Payoffs reward exhausting.
- Generic: card draw, energy gain and solid attacks that fit any deck, so a run with bad luck still works.
Each archetype needs enablers (cards that start the engine, often decent on their own) and payoffs (cards that are weak alone and strong with enablers). Offer enablers more often than payoffs, so players commit to a direction before the payoffs appear. Bridge cards that belong to two archetypes create the surprise hybrid decks players love.
Cards as data
Define each card as data: name, cost, type, rarity, archetype tags, and a list of effects like `damage 8`, `apply poison 3`, `draw 1`, `if target poisoned: damage 6`. The text on the card is generated from the effects, so it always matches what the card does. Upgraded versions are the same card with changed numbers. This keeps 70 cards consistent and lets you add more by writing data, not code. Before you write the full pool, the one-page game design document is a good place to list the archetypes and the card count.
Rewards: pick one of three
- After each normal fight: choose 1 of 3 cards, or skip. Skipping must always be allowed; a thin deck is a valid strategy.
- Rarer cards after elites and bosses.
- Shops: buy cards, buy relics (passive bonuses), pay to remove a card.
- Rest sites: heal or upgrade one card. A real dilemma when you are low on health.
- Relics: passive items with run-long effects (“the first card you play each turn costs 0”). They create builds as much as cards do.
Lay out these nodes on a branching map so the player chooses their path: more elites for better rewards, or more rest sites for safety. That map choice is a second layer of strategy for almost no extra code. Run structure, seeds and meta-progression work much like any roguelike; our roguelike guide covers those in detail.
Encounters that test decks
Enemies in a deckbuilder exist to ask questions of the player’s deck. Show each enemy’s intent above its head (attack for 12, block, buff, debuff), so each turn is a puzzle about how to spend 3 energy, not a guess. Then design encounters around specific tests:
- Burst check: an enemy that grows stronger every turn. Decks that cannot deal damage quickly lose.
- Defense check: a single huge hit telegraphed two turns ahead.
- Multi-enemy check: three small enemies. Decks without area damage struggle.
- Scaling check: a boss with lots of health that ramps slowly. Decks without long-term growth lose.
- Disruption: enemies that add useless cards to your deck or drain energy, punishing bloated decks.
A good act has encounters that test at least three of these, so no single strategy coasts through. Write enemy move patterns as short scripts (attack, attack, buff, repeat) with some randomness, never two big attacks in a row unless telegraphed. The boss fight design guide applies the same test-of-skill thinking to the fight at the end of each act.
The brief to paste
A single-player roguelike deckbuilder about an alchemist climbing a tower, for phone and desktop. Each turn: 3 energy, draw 5, play cards, discard the rest; shuffle the discard into the draw pile when empty. Starter deck: 5 Strike (1 energy, 6 damage), 4 Defend (1 energy, 5 block), 1 Toxic Flask (1 energy, apply 4 poison). Cards defined as data with cost, type, rarity, tags and an effect list; card text generated from effects. 40 cards to start across three archetypes (poison, brew, volatile) plus generic cards, each with an upgraded version. Enemies show intent icons with numbers. After each fight choose 1 of 3 cards or skip. Branching map of 12 floors with fights, elites, rest sites (heal 30 percent or upgrade a card), a shop (buy cards, remove a card) and a boss. 10 relics. Seeded runs. Tap a card to select, tap the enemy to play it; drag also works.
Balance pitfalls
- Infinite combos. Cards that draw cards and refund energy can loop forever. Play suspicious combos yourself, and cap per-turn draws if needed.
- Keyword overload. Every new keyword is a rule players must learn. Five or six well-explained keywords is plenty; show a tooltip on long-press.
- Dead archetypes. If players never pick one archetype’s cards, its enablers are too weak on their own.
- Too many numbers on screen. Phones are small. Show what matters this turn: energy, hand, enemy intents, health and block.
Deckbuilders are mostly data, so iterate in Plan mode when you want to discuss a rebalance before any file changes. If you want two players at one table instead of a solo climb, see how to make an online card game. Balance comes from watching people play, so run a few sessions with the playtesting guide before adding a second character.
Frequently asked questions
How many cards does a deckbuilding game need?
A first deckbuilder can work with 40 to 75 cards per character. That is enough for runs to differ while staying balanceable. Add more once you see which archetypes players enjoy.
What is the difference between a deckbuilder and a card game?
In a traditional card game everyone plays with a fixed deck. In a deckbuilder, building the deck during play is the main activity: you add, upgrade and remove cards as you go.
Why do deckbuilders show enemy intents?
Showing what each enemy will do next turns every hand into a solvable puzzle about how to spend your energy, instead of a guess. It makes losses feel like your decision rather than bad luck.

