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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址