Skip to content

johngro/gloomycompanion

 
 

Repository files navigation

Gloomy Companion

This is a web-app for managing the monster ability decks in the board game Gloomhaven

You can run it from the web directly on https://johreh.github.io/gloomycompanion/.

You can also download it and run it locally without internet connection. Click Clone or download above, then Download ZIP. Unpack the ZIP and start the app by opening index.html.

If you want to add new cards, you need to update cards.js. The decks has the following syntax:

{ name: "Name of monster"
, cards:
  [ [false, "42", "* First line", "** sub-line 1", "** sub-line 2", "* Second line"]
  , [true,  "55", "* Card text"]
  ]
}

The value in the first column is true if the deck shall be reshuffled after that card, false otherwise. The second colum is card initiative value. The following values is the card text, one row per column.

A single * means a top-level action. Double asterisk ** means it modifies the previous action. Commonly used text snippets can be expanded using macros. E.g. %move% expands to the text Move followed by the move icon, %immobilize% expands to IMMOBILIZE followed by the immobilization icon. The list of available macros can be seen in macros.js.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.2%
  • CSS 5.7%
  • Other 1.1%