[ Case Study ]

Party Wipe

A single-player D&D combat roguelike — the tabletop's hardest half, distilled to a 20-minute run with no DM.

  • Next.js
  • Tailwind CSS
  • TypeScript
  • Motion.js

Play it online (opens in a new tab) · Source on GitHub (opens in a new tab)

Paused

The exploration is complete: the combat engine and interface work end to end. Further development is on hold.

Every screen can be reached without playing a run. The developer page (opens in a new tab) jumps straight to combat, loot, rest, level up or game over, and puts conditions and floor effects in play on demand.

[ The Problem ]

D&D combat lands everything on a new player at once: conditions, turn order, dice math, limited resources, and how damage types interact. Many leave before they reach the strategy underneath, and a simpler version cannot be tried at a table, where someone still has to run the game. Party Wipe is that version: a single-player roguelike that runs D&D combat with no Dungeon Master, the player who usually runs the game, on a small, hand-picked slice of the rules.

[ How It Works ]

Party Wipe plays from the SRD 5.1, the System Reference Document: the part of D&D 5th edition's core rules that Wizards of the Coast publishes free under a Creative Commons license. Its monsters, spells and equipment come from there. The game rests on five ideas.

Every color in the game, for damage types, conditions, enemy intent and classes, is defined once and read everywhere it appears, so a new screen picks up the existing colors instead of inventing its own. The rest of the look, the amber-gold palette, Cinzel headings and sharp edges, runs on Loom: one file of brand answers generates the game's colors, type and spacing, and the game keeps its own components on top.

[ Under the Hood ]

Three pieces of the game, and the rest of the source on GitHub (opens in a new tab).

The file the rest of the game depends on: nothing outside it appears in a run. Every monster carries a note on what it teaches the player, which is the reason it made the cut. These are the first two floors.

> frontend/src/data/v1-roster.ts
export const V1_MONSTERS = new Set([
  // ─ Floor 1 — CR 0.125–0.25 ─
  'giant-rat',          // 0.125 — mob: vanilla cleanup fodder
  'goblin',             // 0.25  — mob: vanilla flexible attacker
  'skeleton',           // 0.25  — bludgeoning-vulnerable + poison-immune (damage-type teacher)
  'wolf',               // 0.25  — Bite inflicts prone (STR save)

  // ─ Floor 2 — CR 0.5–1 ─
  'shadow',             // 0.5   — resists nonmagical physical, vulnerable to radiant
  'ghoul',              // 1     — Claws inflict paralyzed (CON save)
  'giant-spider',       // 1     — Bite inflicts poisoned (CON save); the poison creature