Giter Site home page Giter Site logo

5ecombatsimulator / dnd_combat_simulation Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 4.0 753 KB

A combat simulator for D&D 5th edition

License: GNU Affero General Public License v3.0

Python 61.27% HTML 0.22% CSS 0.51% JavaScript 37.89% Dockerfile 0.11%
5e combat dnd dnd5e dungeonsanddragons simulation

dnd_combat_simulation's People

Contributors

adumit avatar jimmymills avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dnd_combat_simulation's Issues

More simulator statistics!

Currently, the simulator just outputs some basic stuff - it'd be great to have a graphic or a way to delve in deeper.

Ideas:

  • Damage dealt per side
  • Hit points left if a unique (expected a player) combatant was part of Team 1.
  • Variance on number of rounds (what if it's 3 average, but can go up to 10 rounds 20% of the time?)

Better searchability inside of combatant screen

When creating a quick monster you need to scroll through the menu to find one that deals the same damage, a quick attack builder in combatant menu or searching for attack damage instead of name would be nice.

Spells!

Currently, very few spells are part of the simulator. Need to take some time and create the dataset for spells in the SRD or figure out how to parse them from somewhere with a JSON or XML version of the data.

[Feature] Another sheets

First, congratulations on your work. Would it be difficult to add other plug formats to use in the simulator? Like the dungeon master vault, who knows vtt, like foundry vtt.
Thank you

CORS issues

https://dndfightsimulator.com/
website has a bunch of CORS issues that prevents it from working.
Pretty much can go to any page / tab and start using it and see CORS Missing Allow Origin in the error console.
Occurring in FireFox and Chrome. CORS restrictions got stronger in the past year. Hopefully an easy fix for you as the site seems pretty darn cool.

Spell saves DCs should be runtime computable

Currently, spell save DCs are saved per spell action. This means we need multiple versions of various spells for different characters, which is problematic. It'd be better to have one spell that computes its own spell save DC or the attacker has its own DC.

Importable character sheets from DnDBeyond

DnDBeyond character sheets are viewable in browser and the HTML elements should be interpretable.

As a user, it should be easy to submit a "viewable" DnDBeyond character link and have the character imported directly into the combatant creator.

Battles should be shareable

The save/load battle functionality should be extended to allow for a query parameter so that battles can easily be shared as links

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.