dndgen

MIT License

Stars
2
Committers
2

dndgen

Model Dungeons and Dragons rules and gameplay as an ent schema, then do fun stuff with it. Loose plans and ideas tracked in the TODO file.

usage

devcontainer / local dev

- clone the repo
- open in devcontainer (recommended)
- or run locally

# These two are run during devcontainer setup after the container is created
> go install github.com/amonks/run/cmd/[email protected]
> go mod tidy

# Build and run the app
> run dndgen

# or

# Run the app in development mode
> run dev

then visit localhost:8087 in a browser for the graphql playground, add /viz to the url to see the entviz visualization.

screenshots

data

Data is seeded from the same JSON files that back the 5e-srd-api. (with some small adjustments here and there)

schema audit

[ ] abilityScore [ ] alignment [ ] background [ ] class [ ] condition [ ] damageType [ ] equipment [ ] equipmentCategory [ ] feat [ ] feature [ ] language [ ] level [ ] magicItem [ ] magicSchool [ ] monster [ ] proficiency [ ] race [ ] rule [ ] ruleSection [ ] skill [ ] spell [ ] subclass [ ] subrace [ ] trait [ ] weaponProperty