initiative

command module
v0.0.0-...-93aeaa4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: MIT Imports: 16 Imported by: 0

README

Initiative

Initiative is a simple HTML UI that rolls and tracks initiative for DND style encounters.

How to install

go get -u github.com/crxpandion/initiative
go install ./...

How to use

$ initiative -h
Usage of initiative:
  -b string
        (default "localhost:8080")
  -d string
        (default "./test")

the -d directory should contain a players folder and a monsters folder.

the csv files are of the format

<name of player/monster>,<initiative bonus (aka dex modifier)>

for players you can indicate if they get advantage on initiative by adding a third boolean.

edits to either the player file or the monsters file will automatically update the server state, but the encounter page will need to reload. This also updates the turn order rolls currently so only do this between encounters

TODO

  • Somehow model statuses
  • allow additions to the players/monsters mid encounter (such that it doesnt reroll the order)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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