GitHub - someben/dungeon-bang: Monte Carlo simulator for the Dungeon! (2014) board game: class balance, strategies, house rules

GitHub

3 min read Original article ↗

Dungeon! house rules cartoon

House rules that fix Dungeon! (2012/2014 Wizards of the Coast editions): all four classes win about equally.

Win rate Rogue Cleric Fighter Wizard
Printed rules 32% 34% 16% 19%
With these house rules 26% 25% 24% 25%

House rules

  • Swords: only Fighters get a Magic Sword's bonus.
  • No lost turns: take 1 Hourglass token per lost turn instead. Each token is −1 on your attack rolls. Each win gives 1 back.
  • Drops: you choose which Treasure cards to drop.
  • Monster effect "Seriously Hurt": drop half your Treasure cards, take 2 Hourglass tokens, and step back 1 space. Do not go back to the Great Hall.

Clarifications

  • Casting a Wizard spell from the doorway onto a trap: the spell is still used up, then you walk in and spring the trap.
  • Maximum 12 slots: if all the monster slots are full, discard the monster; the room stays open.
  • A "Crushed" Wizard gets a new spellbook.
  • Dropped treasure: whoever beats the monster takes all of it, including cards they dropped themselves.

Print house-rules.pdf for your table. The full rules and results are in house-rules.md. Win rates come from 24,000 simulated 4-player games, one Hero of each class.

The simulator

A Monte Carlo simulator for the board game Dungeon! (2014 Wizards of the Coast edition), used to study class balance: who wins, which strategies work, and which house rules even things out.

This is an unofficial fan project. It is not affiliated with or endorsed by Wizards of the Coast. You need your own copy of the game to play it; the rulebook text and board art are not included here.

What's here

File What it is
sim.py The game engine and AI players. python3 sim.py --games 1000
explore.py Parallel experiments: strategies, best responses, house-rule searches
board.txt The board as a graph: every hallway space, room, chamber, door, and secret door
monsters.csv, treasures.csv Card stats: to-hit numbers per class and spell, treasure values, special effects
house-rules.md The four house rules and four clarifications that even out the four classes, with the results
rules.md Our summary of the rules and the sim's interpretation of unclear points
tools/ Board-tracing tools (they need your own photos of the board in photos/)
results/explore.jsonl Logged experiment results

Usage

python3 sim.py --games 2000
python3 sim.py --games 2000 --policy ev,ev,lv=3-5,lv=4-6
python3 sim.py --games 2000 --rules house
python3 explore.py rules      # try each house rule

Strategies (--policy) and house rules (--rules) are documented at the top of sim.py.