dndgen

package module
v0.0.0-...-67bf1eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 0 Imported by: 0

README

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/run@v1.0.0-beta.30
> 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

grid
loose
heir
big
zoom

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
creator command
dndgen command
popgen command
popper command
Populates a sqlite database file with data.
Populates a sqlite database file with data.
ent
internal
popper
GENERATED BY popgen DO NOT EDIT
GENERATED BY popgen DO NOT EDIT

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL