Go to file
2017-10-12 21:38:59 -04:00
css Move css to subdirectory in prep for page-specific css 2017-10-09 03:46:12 -04:00
html Allow for downloading the input json from the editor 2017-10-11 22:52:23 -04:00
js Fix Face URI quoting 2017-10-12 21:38:59 -04:00
template Add support for hero and villain decks 2017-10-12 02:27:17 -04:00
.gitignore Move deck files to 'decks' subdirectory and ignore 2017-10-09 03:46:02 -04:00
package.json Set version, license, and author in package.json 2017-10-02 14:47:18 -04:00
proposal.md Add timeline and evaluation to proposal 2017-09-21 02:29:50 -04:00
README.md Add basic README 2017-10-12 11:18:00 -04:00
server.js Further fix server deck JSON generation 2017-10-12 03:41:16 -04:00

Deck Generator/Playfield

This project has two major parts: a deck generator, and a virtual playfield. The purpose is to allow for creating and playing custom decks in a physical card game, or generation of decks for use in Tabletop Simulator. Currently, there is support for Sentinels of the Multiverse (SotM), a co-op fixed-deck card game based on super heros, though other templates could be added relatively easily.

Deck Generator

Supports generating custom hero, villain, and environment decks for SotM. Currently based on uploading JSON input files, though minimal editing in the browser has also been implemented.

Requires installation of fonts on local computer, as they cannot be distributed due to their license

Templates are based on those from BoardGameGeek user Koga, found here: https://boardgamegeek.com/thread/813176/card-templates/, but have been converted to SVG and rather heavily modified/cleaned up.

Playfield

Can load decks created by the generator. In theory, can play any deck from Tabletop Simulator, with minor effort (it needs to be pointed at the right part of the JSON). This allows for playing many offcial and unoffical (such as The Cauldron, a popular fan expansion) decks.

Controls:

Best on a touch screen, but works okay with a mouse.

  • primary controls are dragging, tapping, long pressing, and double tapping
  • you can drag into and out of decks, which takes/puts cards from the top of the deck
    • hold shift while dragging into a deck to put a card on the bottom
  • long press on a deck to open a listing, where you can search, rearrange, and tap to add to playfield

Libraries

  • The backend uses PhantomJS for rendering decks
  • The playfield uses interact.js

To do:

There are a lot of things still to be done here, including:

  • Making it look prettier
  • finishing the editor
  • adding a context menu to the playfield
  • adding some sort of tutorial or help to the playfield