Giter Club home page Giter Club logo

simultaneous-cards-fvtt's Introduction

Simultaneous Cards

A system-agnostic Foundry module for the simultaneous choice of cards between all the players and the GM!

How to Use

  1. Install the module
  2. Add some tokens on the scene
  3. In the token tools, click the Simultaneous Cards button, or create a macro (see below)
  4. Configure the participants
  5. Choose your cards and reveal them!
Click to see the demo

Macro

Instead of using the control button, you can create your own macro with one of the following lines of code:

// Create a new instance.
game.simoc.app.create();

// Add the ID or name of a cards stack to filter out the others.
game.simoc.app.create('abcd1234');

// You can add more than one ID or name.
game.simoc.app.create(['abcd1234', 'efgh5678']);

Contributing

Setup

# Install the Node packages
npm install

# Build the distribution
npm run dev

# Then link the project
# Unix
ln -s dist/* /absolute/path/to/foundry/data/module-name

# Windows
mklink /J /absolute/path/to/link /absolute/path/to/this/repo/dist

License

GPLv3

This module contains parts of the SWADE game system licensed under the Apache 2.0 license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.