Giter VIP home page Giter VIP logo

dungeon-revealer's Introduction

dungeon-revealer

A web app for tabletop gaming to allow the game master to reveal areas of the game map to players.

What the DM Sees

alt text

What the players see

alt text

Installation

(This is the simplest way I know to install. If you know a better way, please shoot me a message.)

  1. Install git. On Windows, I believe if you install the Github version of git it should add git automatically to your path. 2.. Go to https://nodejs.org/download/ and download and install Node. Node is the runtime for this software, which basically means you need it to make the software work. Only one person needs Node (assumed to be the DM).
  2. Once Node is installed, open a command prompt.
  • For Mac users, press Command + Space and type "terminal" into Spotlight. Press enter and a prompt should open.
  • For Windows users, press the Windows key and type "command prompt" or "cmd" into the search box and then press enter.
  • For Linux users, you already know how to open the command prompt.
  1. Using the command prompt, change to whatever directory you want to keep this program in.
  2. Once you are in that directory, type npm install apclary/dungeon-revealer (without quotes) into the command prompt and press enter.
  3. Wait a little bit while it installs.
  4. Once it's done, a directory named node_modules should appear. Using the prompt, navigate to node_modules/dungeon-revealer/bin.
  5. Type node dungeon-revealer into the prompt. Some messages should appear. This likely means the server is now running.
  • On some Windows machines, a firewall prompt will appear. Check all of the checkboxes and click OK.

Use

To use dungeon-revealer, the game master and the players must be on the same local network (usually a wifi network). The game master will start the server, navigate to the server's URL in a browser like Chrome, and then click on the Dungeon Master link. At this point, she will be prompted to upload an image file of the map to share with the other players. The other players will navigate to the server using their own browsers (laptop, tablet, or phone) and will remain at the home page. The connection information is displayed in command prompt for convenience.

To clear areas of the map, click and draw on the map. If you clear too much, you can switch the brush to the "shadow brush" and restore some of the fog. Whenever you clear some of the fog of war from the map and is ready to share with the players, she will click "Send" and the revealed areas of the map will appear in the player's browsers. What appears as a shadow to the DM will appear as pure blackness to players, thus only revealing the cleared sections of the map to them.

To replace the existing map with a new image file, click "New Map".

dungeon-revealer's People

Contributors

apclary avatar czuger avatar hhromic avatar

Watchers

 avatar  avatar  avatar

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.