✱presque.cool
← Back to projects
Vaultcrawl icon

Vaultcrawl

Nov 2020 Game
Visit project ↗

A roguelike card game. Spend food and gems to clear 8 dungeon levels.


Le pitch

Vaultcrawl est un roguelike sur un plateau de 8 cartes. Jouer une carte coûte de la nourriture et piocher coûte des gemmes. Les gemmes qui restent comptent pour le score. Au huitième niveau, un Gardien occupe le centre du plateau et frappe à chaque pioche.

Jouer à Vaultcrawl

PériodeDepuis novembre 2020
Stack
PreactTypeScriptPWA
StatutEn production

Décisions produit

Pour arbitrer l’équilibrage, j’ai défini ce que je voulais préserver : dépenser les gemmes au camp doit coûter un vrai choix, puisque ces gemmes font aussi le score. J’ai comparé les variantes avec le même moteur et suivi où les bots perdaient.

J’ai gardé le prix du camp et allégé les niveaux 3 à 7. La mesure établit l’effet sur les bots, et la difficulté ressentie reste à observer en partie.

Arbitrage d'équilibrage sur données Product Manager
Conservation du coût du camp pour préserver le dilemme score/survie et allègement des niveaux 3 à 7, faisant passer la victoire du bot glouton de 9,7 % à 32,3 %.
Pilotage multi-versions et recentrage Product Manager
Évolution de 2020 à 2026 (Svelte, React, Preact) avec décision assumée en v3.0 de retirer combos et pioche gratuite pour recentrer la tension du tour.
Moteur déterministe partagé navigateur / CLI Product Builder
Même moteur TypeScript à graine exécuté dans le navigateur et dans le terminal pour rejouer exactement une défaite.
Harnais de simulation et lucidité de mesure Product Builder
Campagnes de bots pour localiser les étages létaux, en distinguant explicitement ce que mesure un bot de la difficulté ressentie par un joueur.

De Mind Cards à Vaultcrawl

J’ai trouvé Mind Cards, de Twotinydice, très addictif. J’ai commencé mon jeu en novembre 2020 avec le tutoriel de boardgame.io et une interface en Svelte. Le premier plateau faisait déjà payer 1 nourriture pour jouer et 3 gemmes pour piocher.

En novembre 2025, j’ai refait l’habillage en prenant pour référence la direction artistique des livres Dungeon Crawler Carl. En décembre 2025, j’ai réécrit l’application en React et TypeScript. Cette version enchaînait les manches, récompensait les combos et proposait une collection de cartes spéciales.

En septembre 2026, je suis revenu aux règles de Mind Cards pour reprendre le déroulement du tour. La pioche gratuite et le combo ont disparu. La partie a pris la forme d’un donjon de 8 niveaux, avec un camp entre deux niveaux et une descente sans fin après la victoire. En octobre, les illustrations de RhosGFX ont remplacé les icônes sur les cartes.

Une gemme dépensée manque au score

Au camp, récupérer de la vie ou de la nourriture coûte 1 gemme par point rendu. Repartir est gratuit. Il faut décider ce qu’on peut garder pour le score et ce qu’il vaut mieux dépenser avant le niveau suivant. Le sac, séparé de ce choix, commence avec 3 places pour les compétences et peut en contenir 8.

Le Gardien change la valeur d’une pioche. Il perd 1 point de vie à chaque carte jouée et inflige 2 dégâts à chaque pioche. Une pioche qui paraît raisonnable plus tôt dans le donjon peut coûter cher au niveau 8.

Rejouer une partie pour comprendre une défaite

Le moteur reçoit une graine et joue les mêmes règles dans le navigateur et dans le terminal. Je peux relancer une partie sur le même tirage, ou faire jouer des bots pour repérer l’étage où les défaites s’accumulent.

Le premier essai du camp payant a fait tomber le taux de victoire du bot glouton à 9,7 %. J’ai gardé le prix et retiré un monstre par niveau du 3 au 7. Dans cette configuration, le même bot a gagné 32,3 % des parties avec les compétences de départ. Ces chiffres décrivent les parties du bot. Pour juger le camp, il reste à voir quand un joueur accepte de repartir sans se ravitailler.

Stack technique

  • Preact pour l'interface et TypeScript pour le moteur commun au jeu et au terminal
  • Zustand pour la partie et IndexedDB pour les statistiques
  • Vite et Workbox pour l'application installable et le jeu hors ligne

Évolutions

Date Version Description
Nov. 2020 Prototype Première version en Svelte et boardgame.io.
Nov. 2025 Design Refonte graphique inspirée des livres Dungeon Crawler Carl.
Déc. 2025 React Réécriture en React et TypeScript, avec des manches successives et des cartes spéciales.
Sept. 2026 2.0 Parties reproductibles à partir de leur graine.
Sept. 2026 3.0 Refonte des règles. Donjon de 8 niveaux, camp et descente sans fin après la victoire.
Oct. 2026 3.1 Gardien, sac de compétences et illustrations de RhosGFX.
Oct. 2026 3.2 Passage à Preact. Version mise en ligne en novembre 2026.

Bilan

Le coût des cartes et de la pioche date du prototype. Le changement qui m’intéresse le plus en 2026 se joue entre deux niveaux. Les gemmes déjà gagnées peuvent acheter la nourriture qui manque ou rester au score. J’ai pu régler séparément le prix de ce choix et la pression des monstres qui le précèdent.

The pitch

Vaultcrawl is a roguelike played on an 8-card board. Playing a card costs food and drawing costs gems. The gems left over count towards your score. On level eight, a Guardian sits in the middle of the board and hits you every time you draw.

Play Vaultcrawl

PeriodSince November 2020
Stack
PreactTypeScriptPWA
StatusLive

Product decisions

To make the balance decision, I defined what I wanted to preserve: spending gems at camp should matter because those gems also count towards the score. I compared variants with the same engine and tracked where the bots lost.

I kept the camp price and eased levels three to seven. The figures show the effect on the bots, and player difficulty still needs to be observed in play.

Data-informed balance trade-off Product Manager
Kept the camp price to preserve the score-vs-survival tension and eased levels 3 to 7, raising the greedy bot’s win rate from 9.7% to 32.3%.
Multi-version stewardship and refocusing Product Manager
Steered the game from 2020 to 2026 (Svelte, React, Preact) and cut free draws and combos in v3.0 to sharpen turn-by-turn decisions.
Shared browser and CLI engine Product Builder
Seeded TypeScript engine running the exact same rules in the browser and terminal so any losing run can be replayed.
Bot simulation harness and metric limits Product Builder
Used bot runs to locate lethal floors while explicitly noting that bot win rates do not replace human play observation.

From Mind Cards to Vaultcrawl

I found Twotinydice’s Mind Cards very addictive. I started my own game in November 2020 with the boardgame.io tutorial and a Svelte interface. The first board already charged 1 food to play a card and 3 gems to draw.

In November 2025 I redid the visuals, taking my cue from the art direction of the Dungeon Crawler Carl books. In December 2025 I rewrote the app in React and TypeScript. That version chained rounds together, rewarded combos and let players collect special cards.

In September 2026 I returned to the rules of Mind Cards to rework how a turn plays. I dropped the free draw and the combo. A run became an 8-level dungeon, with a camp between levels and an endless descent after a win. In October, illustrations by RhosGFX replaced the icons on the cards.

A gem spent is a point off the score

At camp, restoring health or food costs 1 gem per point. Leaving costs nothing. You decide how much to keep for your score and how much to spend before the next level. The skill bag is managed separately. It starts with 3 slots and can grow to 8.

The Guardian changes what a draw is worth. It loses 1 health every time you play a card and deals 2 damage every time you draw. A draw that seems reasonable earlier in the dungeon can be costly on level eight.

Replaying a run to understand a loss

The engine takes a seed and runs the same rules in the browser and in the terminal. I can replay the same sequence of cards or run bots to spot where losses pile up.

The first paid camp brought the greedy bot’s win rate down to 9.7%. I kept the price and removed one monster per level from levels three to seven. In that setup the same bot won 32.3% of runs with the starting skills. Those figures describe the bot’s runs. To judge the camp, I still want to see when a player chooses to leave without supplies.

Tech stack

  • Preact for the interface and TypeScript for the engine shared by the game and the terminal
  • Zustand for run state and IndexedDB for statistics
  • Vite and Workbox for installation and offline play

Timeline

Date Version Description
Nov 2020 Prototype First version built with Svelte and boardgame.io.
Nov 2025 Design Visual redesign inspired by the Dungeon Crawler Carl books.
Dec 2025 React React and TypeScript rewrite, with successive rounds and special cards.
Sep 2026 2.0 Runs can be replayed from a seed.
Sep 2026 3.0 Rules overhaul. An 8-level dungeon, a camp and an endless descent after victory.
Oct 2026 3.1 Guardian, skill bag and illustrations by RhosGFX.
Oct 2026 3.2 Move to Preact. This version went live in November 2026.

Looking back

Paying to play and draw goes back to the prototype. The change I find most interesting in the 2026 version happens between levels. Gems already won can buy food or stay in the score. I could tune the price of that decision independently of the pressure applied by the monsters before it.