Key takeaways
- Every run starts from the same weak deck, and you build it up as you climb.
- With five cards drawn a turn, a deck of N cards comes round every N ÷ 5 turns.
- Deck thinning removes weak cards, so your best cards turn up more often.
- Skip a card reward unless the card beats the average card it would push back.
- Read every enemy’s plan: block what’s coming, and finish off what you can.
A roguelike deckbuilder is a card game played as a run. You start with a small, weak deck and fight turn-based battles, drawing a hand each turn and spending a few points of energy on cards that attack, block or set something up. After each win you choose a card to add or skip it, and along the way you remove weak cards, a trick called deck thinning, and collect passive items, often called relics. You pick your own route up a branching map to a boss at the top of each floor. When you lose, the run is over, and the next one starts from the same small deck.
We make Mouse Knight at 9io, and it’s the worked example in this guide. It’s one of the sixteen Bitfold Originals, the games that come with Bitfold, our retro console app for iPhone and iPad, which is free on the App Store. Mouse Knight arrived in Bitfold 1.3 on 17 November 2026: Nib, the bravest mouse in the walls, climbs a castle of cats to win back the Moon Cheese, with 55 cards, three bosses and a Daily Climb. Every number here comes from the game’s source in Bitfold 1.3.2, on the App Store since 25 November 2026. Mouse Knight plays only in the app, and the free browser player runs seven other Originals.
The sections below take the genre’s ideas one at a time, ending with a checklist. The Bitfold guide covers the app itself.
What a run is in a roguelike deckbuilder
At the International Roguelike Development Conference in 2008, developers wrote down a definition of the genre, the Berlin Interpretation, whose high-value factors include random environment generation, permadeath, turn-based play and resource management.1 A roguelike deckbuilder keeps those and makes your deck the main resource, the thing you build during a run and lose when it ends.
In Mouse Knight a run is a climb of three floors, the Cellar, the Belfry and the Moon Tower. Every climb starts with 70 HP, 99 gold, ten cards and one trinket, and if Nib’s HP reaches zero the climb is over. The map, the fights and the rewards change every time. HP carries over from battle to battle, though the stairs between floors give back three quarters of the HP you’ve lost.
Losing is part of the design. In the game’s balance notes, a careful test bot that blocks what’s coming, finishes off enemies, takes good cards and rests when hurt wins about 30% of its climbs. A bot that plays any card it can afford still gets past the first boss in about 65% of its climbs. Some progress carries over: 43 of the 55 cards are there from your first climb, and the other 12 join in batches of three for beating Tomkin, beating Queen Corvina, a first win and a second. Your very first battle is a lesson that can’t be lost.
The starting deck and the energy budget
Every climb starts with the same ten cards. Five are Needle Jabs (1 energy, 6 damage), four are Thimble Ups (1 energy, 5 block) and one is a Tail Sweep (1 energy, 4 damage to every enemy). Each turn you get 3 energy and draw 5 cards, and you can hold up to 8. Energy you don’t spend is lost at the end of the turn, and the rest of your hand goes to the discard pile, which is shuffled into a new draw pile when the old one runs out.
Those numbers show the starting deck’s limits. Every card in it costs 1, so with 3 energy you play three of your five cards a turn and the other two go unused, and with 5 cards drawn a turn, all ten come round every two turns. The first cards worth adding are the ones that change those numbers: free cards, cards that draw or give energy, and cards that do more per energy than a Needle Jab.
| Card | Cost | What it does | Upgraded |
|---|---|---|---|
| Needle Jab (starter) | 1 | 6 damage | 9 damage |
| Thimble Up (starter) | 1 | 5 block | 8 block |
| Quick Nip | 0 | 4 damage | 6 damage |
| Whisker Sense | 1 | Draw 2 cards | Costs 0 |
| Tireless | 0 | 1 energy, then it crumbles | 2 energy |
| Lunge | 2 | 13 damage | 18 damage |
| Reckless Rush | 1 | 11 damage, and you lose 3 HP | 15 damage |
Upgrades matter too: an upgraded Needle Jab deals half as much again for the same energy. Vows cost energy once and work every turn for the rest of the battle, so play them on the first turn or two, as the test bot does. In battle, B shows your draw and discard piles, so you can count what’s left before the next shuffle.
Read the enemy’s plan, then block or attack
Every enemy shows its next move above it. A sword and a number is an attack, with x3 for three hits, a shield is block and a down arrow a curse on Nib, and up on the D-pad explains every sign. Block soaks up damage until your next turn and then fades, so it only helps when something is coming. Many enemies repeat a fixed pattern, and the rest choose at random but avoid the same move three times running.
The careful test bot adds up the attacks the enemies have announced, takes away the block it already has and values block fully only up to that total. It values damage most when it kills, because an enemy that dies on your turn never attacks. A lone Dust Beetle has 14 to 17 HP and either attacks for 6 or blocks for 5. Half of all opening hands from the starting deck hold three or more Needle Jabs, by the hypergeometric distribution, which counts draws without replacement,2 and three Jabs deal 18, enough to drop the beetle before it moves. With fewer, play a Thimble Up against the 6 and put the rest into damage.
| Status | What it does | How long it lasts |
|---|---|---|
| Sharp | 1 more damage on every hit, for each point | The battle |
| Brittle | Takes 50% more attack damage | Counts down each turn |
| Sleepy | Deals 25% less attack damage | Counts down each turn |
| Fleas | Loses that much HP at the start of its turn, through block | One fewer after each bite |
| Spikes | Attackers take that much damage for each hit | The battle |
Statuses work on both sides. A stack of n fleas bites for n, then one less each turn, so 3 fleas deal 6 in all and 5 deal 15, whatever the block. Brittle on an enemy before your biggest hit adds half the hit again.
Drafting: which cards to take, and when to skip
After every win you get gold and a choice of three cards, and you can always skip. Elites and bosses add a trinket. A reward card can arrive already upgraded, with a 12% chance on the second floor and 24% on the third.
| Fight | Common | Uncommon | Rare |
|---|---|---|---|
| Battle | 60% | 33% | 7% |
| Elite | 40% | 45% | 15% |
| Boss | None | None | All |
Every card you add dilutes the rest. In a 10-card deck each card comes up once every two turns, and with five more, once every three. So a new card has to beat the average card it pushes back, which early on means a Needle Jab or a Thimble Up. The test bot raises its bar as its deck grows: it takes nearly anything decent up to 16 cards, wants a clearly good one above that and takes only its best picks above 24.
Look first for something that fixes the energy problem, such as Quick Nip, Huddle, Flea Flick, Whisker Sense or Tireless. After that, take a couple of cards that hit hard enough for a boss and some block that can soak a big attack.
Deck thinning: why a smaller deck is stronger
The peddler toad’s shop sums it up as “a thin deck draws its best cards” beside its card removal. With 5 cards drawn from a deck of N, any one card is in your hand with a chance of 5 in N, and a full pass through the deck takes N ÷ 5 turns. For two copies of a card, the hypergeometric distribution gives the chance of drawing at least one.2
| Cards in the deck | Chance a given card is in your first hand | Turns to see every card | Chance of at least one of two copies |
|---|---|---|---|
| 10, the start | 50% | 2 | 78% |
| 12 | 42% | 2.4 | 68% |
| 15 | 33% | 3 | 57% |
| 20 | 25% | 4 | 45% |
| 40, the most a deck holds | 12.5% | 8 | 24% |
Mouse Knight has three ways to thin a deck.
- The peddler toad removes one card each visit, for 75 gold the first time and 25 more each time after. Every floor has a shop.
- The Moon Shrine, one of the twelve events, lets you pray and let one card go.
- The Leaky Pipe, another event, washes every junk card out of your deck.
Remove junk first. Tummy Ache, which one event gives you for eating a whole cheese, can’t be played and stays until a shop or the pipe takes it. A card that crumbles, such as the hairballs cats cough into your discard pile, leaves the battle when you play it, which thins the deck for the rest of that fight. After junk, the test bot removes Needle Jabs before Thimble Ups, and it buys a removal only when its deck has more than eight cards.
Relics: Mouse Knight’s trinkets
Relics are passive items that change the rules for the rest of a run, and Mouse Knight’s are its 22 trinkets. Every climb starts with the Crumb Pouch, which heals 4 HP after each battle. Elites give a trinket from the common pool and bosses one from the rare pool, the chest on every floor’s fifth row holds one, the toad sells two and some events give one.
| Trinket | What it does |
|---|---|
| Moon Shard (rare) | 1 more energy a turn, but 1 card fewer |
| Feather Quill | Card rewards show 4 choices |
| Peddler’s Coin | Shop prices 25% lower |
| Hourglass | 3 block for each energy left at the end of a turn |
| Candle Stub | Resting heals 10 more HP |
A trinket can change which cards are good. With the Moon Shard you have 4 energy for 4 cards, so expensive cards get better, and the Hourglass turns energy you hold back into block.
The map: branching paths, elites, candles and shops
Each floor is nine rows of rooms on six lanes, joined by paths that never cross, with the boss at the top. Up and down on the D-pad look around the map before you choose.
| Room | What happens | Where |
|---|---|---|
| Battle | A fight, then gold and a card | Always row 1; rows 1 to 3 hold the easier fights |
| Elite | A harder fight, with more gold, a trinket and better card odds | From row 4 |
| Event | One of 12 short stories with a choice | Any row but 1, 5 and 9 |
| Shop | The peddler toad: 5 cards, 2 trinkets and one removal | From row 3, at least one a floor |
| Chest | A trinket | Row 5 |
| Candle | Rest to heal 30% of your max HP, or sharpen to upgrade a card | Rows 4 to 7 at random, and always row 9 |
Read the whole floor before you start up it. The test bot heads for a candle when it’s below half HP, takes an elite only above 70% HP and goes to the shop only with 130 gold or more. At a candle it rests below 60% HP and sharpens otherwise, and at 70 max HP a rest heals 21. Shop cards cost 45 to 55 gold for a common, 68 to 82 for an uncommon and 135 to 165 for a rare, so your first 99 gold covers a removal or a common card but can’t stretch to both.
Bosses, and what changes at half HP
| Floor | Boss | HP | At half HP |
|---|---|---|---|
| 1, the Cellar | Tomkin, the pantry cat | 116 | Gains Sharp and turns to three-hit attacks, curses and more hairballs |
| 2, the Belfry | Queen Corvina | 128 | Calls her crows again |
| 3, the Moon Tower | The Duchess, who holds the Moon Cheese | 200 | Glows and heals 20 HP |
All three bosses repeat a fixed cycle of moves and switch to a new one at half HP, so after one round you know what’s coming. The candle on row 9 gives you a last choice between healing and an upgrade before each boss, and bosses give only rare cards and a rare trinket. When a boss falls its helpers flee, so against Queen Corvina your damage goes furthest on the queen, unless a crow’s attack is the bigger danger that turn. The Duchess heals 20 at half HP, so plan on dealing 220 in all.
The Daily Climb and the score
The Daily Climb is the same castle for everyone, once a day: the date sets the seed, and every room comes from the seed, the floor and the room’s place on the map. It always uses the starting pool of cards, so a new player gets the same choices as anyone. You get one scored attempt, saved as you go, and a climb left unfinished at midnight counts as it stands.
The score is 10 for each room, 15 for a battle, 40 for an elite and 100 for a boss, plus a point for every 10 gold found and, for a win, 300 and 2 for every HP left. The result card shows how far Nib got, the score, a row of room icons for each floor and your streak, but never the enemies, cards or map. To share it, open Bitfold’s menu, tap Photo, then Share. In Bitfold 1.3.2, a new best, a new floor, a win and a finished Daily Climb each bring a pixel banner and a chime on the shelf.
A checklist for your first climb
- Read every enemy’s plan before you play a card, and block only what’s coming.
- Kill an enemy this turn when you can, because its attack then never happens.
- Add free cards, draw and energy early, and skip cards no better than a Needle Jab.
- Remove junk first, then Needle Jabs, whenever the toad’s price fits.
- Take elites above about 70% HP, and head for a candle below half.
- Reach shops with gold: a first removal is 75 and a common card 45 to 55.
- Against Queen Corvina, hit the queen, since her crows flee when she falls.
For a calmer daily game in the same app, try our 8x8 block puzzle tips for Bloom Blocks, and the guide to all sixteen Bitfold Originals for the rest.
-
RogueBasin, “Berlin Interpretation”, https://www.roguebasin.com/index.php/Berlin_Interpretation ↩
-
Wikipedia, “Hypergeometric distribution”, https://en.wikipedia.org/wiki/Hypergeometric_distribution ↩↩
Frequently asked questions
What is a roguelike deckbuilder?
A card game played in runs. Each run starts with a small, weak deck and a new random route, and you build the deck up as you go by adding cards, removing them and finding passive items. Losing ends the run, and the next one starts from the beginning. Mouse Knight in Bitfold is one: three floors of card battles up a castle of cats.
How do deckbuilding games work?
Each turn you draw a hand and spend a small budget, usually called energy, on cards that attack, defend or set up effects. Between fights you choose new cards to add and weak ones to remove. In Mouse Knight you get 3 energy and 5 cards a turn, and a choice of three cards after every win.
What is deck thinning?
Removing weak cards from your deck so the strong ones come up more often. With five cards drawn a turn, a 10-card deck shows every card each two turns and a 20-card deck each four. In Mouse Knight the peddler toad’s shop removes one card a visit, for 75 gold the first time and 25 more each time after.
Should you skip card rewards in a deckbuilder?
Often, yes. Every card you add makes the others come up less often, so a card no better than the average card in your deck makes it weaker. Mouse Knight lets you skip any card reward.
How does the Daily Climb work in Mouse Knight?
The castle is the same for everyone each day, because the date sets the seed and every room comes from it, and only the starting pool of cards appears. You get one scored attempt, saved as you go, and a climb left unfinished at midnight counts as it stands. The result card never shows the enemies, cards or map.
Can I play Mouse Knight in a browser?
No. Mouse Knight is in Bitfold, which is free on the App Store for iPhone and iPad with iOS 17 or later. Bitfold’s free browser player at bitfold.9io.ai/play runs seven other Originals for five minutes a day.
Building something like this?
9io is a small team of senior engineers with a fractional CTO. We work by the hour, and plans start at $5,000. Send us a note about your product. The reply comes from the person who'd do the work.