Skip to content

Improve encounter presentation and battle map controls#79

Open
Daren9m wants to merge 1 commit into
mainfrom
codex/encounter-dm-controls
Open

Improve encounter presentation and battle map controls#79
Daren9m wants to merge 1 commit into
mainfrom
codex/encounter-dm-controls

Conversation

@Daren9m

@Daren9m Daren9m commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • include full monster stat blocks when printing encounters
  • expand encounter difficulty from three to five levels and make monster HP the primary difficulty signal
  • normalize generated coin treasure to GP
  • let DMs edit encounter name, description, and tactics
  • make Battle Forecast a prominent callout
  • add persistent map size, object-density, and terrain-variety controls to encounter and standalone map generation

Impact

Encounter preparation is easier to customize, printed encounters are table-ready, combat durability is more visible than rules XP, and DMs have meaningful control over generated battle maps.

Validation

  • npm run lint
  • 27 focused Vitest tests across encounter generation, 2024 rules, and map generation
  • feature-scoped TypeScript check
  • production build of the PR contents
  • browser smoke test covering editing, printing, forecast visibility, and Dense/Wild 32×24 map generation with no console errors

Closes #72
Closes #73
Closes #74
Closes #75
Closes #76
Closes #77
Closes #78

@Daren9m
Daren9m marked this pull request as ready for review July 16, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment