Coder Social home page Coder Social logo

eimaj / dnd-battle-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paul-ladyman/dnd-battle-tracker

0.0 0.0 0.0 8.81 MB

D&D Battle Tracker is a combat management tool for Dungeons & Dragons 5th Edition.

Home Page: https://dndbattletracker.com/

HTML 0.50% CSS 6.63% JavaScript 92.87%

dnd-battle-tracker's Introduction

D&D Battle Tracker is a combat tracker tool for Dungeons & Dragons 5th Edition (D&D 5e). Track the initiative and status of all creatures involved in combat with this D&D combat tracker!

Use

The D&D Battle Tracker is designed to run as a single HTML page in the browser (but does not require an internet connection).

You can either access the D&D Battle Tracker live or download a specific release of the dnd-battle-tracker.html file below and open it in your favourite browser.

Latest release (v5.7.1): dnd-battle-tracker.html List of previous releases

Motivation

As a new DM I found that I was frequently making mistakes during combat, such as:

  • Forgetting who's turn it was or skipping a creature's turn altogether.
  • Forgetting what conditions creatures were under.
  • Doing maths wrong when applying damage to creatures (!)

It was clear that some automation would be helpful. There's a number of browser-based combat trackers out there at the time of writing:

Many of these systems are very feature rich and aim to provide tools beyond the combat tracker itself, which is great. However that does mean that they come with a learning curve and several are gated-off behind login screens.

This D&D Battle Tracker simply aims to automate the process of tracking combat using a pen and paper. It attempts to do this in a way that is as straight-forward and easy to use as possible. As such it does not do things like automate dice roles, provide custom character creation tools, battle map creation tools or provide content from the Player's Hand Book. Instead it focuses on automating the smaller things that are prone to error and often distract a DM from the combat itself.

Features

  • Core DM features work entirely offline.
  • Create a list of creatures who are involved in combat by adding a name, initiative score and health points for each one.
  • Track creature status pre- and post-battle so active conditions carry into battle and persist when its over.
  • Automatically order creatures by their initiative.
  • Keep track of who's turn it is as combat progresses as well as what the current round is and how long combat has lasted.
  • Keep track of creature conditions and any additional notes and how long they have been applied.
  • Make it obvious when conditions or notes have been applied to help the DM not to forget to take them into account.
  • Provide links to D&D Beyond's list of condition descriptions and monsters.
  • Manage the health points of enemy creatures or NPCs allowing HP to be added and removed whilst supporting adding PCs to the creature list without HP.
  • Allowing creatures to be killed/made unconscious and making it obvious to the DM that this has happened.
  • Creatures can be added to or removed from the list at any time, even after combat has started.
  • Save and load battles in case they continue into another session.
  • Share your battle with your players so they can see the initiative order and follow along. Requires internet access.

Credits

Icons

Fonts

Development

Checkout and install

 $ git clone [email protected]:Paul-Ladyman/dnd-battle-tracker.git
 $ cd dnd-battle-tracker
 $ npm install

To run

 $ npm start

To test

 $ npm test

Architecture

D&D Battle Tracker architecture

Release

  • Update the version in package.json and in the Download section of this README.
  • npm run build to build the project and package all the static resources into a single HTML file. This file will be made available under dist/dnd-battle-tracker.html.
  • Push the results to the master branch.
  • Create a release in Github and upload the dist/dnd-battle-tracker.html file.

dnd-battle-tracker's People

Contributors

paul-ladyman avatar dependabot[bot] 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.