Giter Site home page Giter Site logo

levi-blodgett / dnd-char-generator Goto Github PK

View Code? Open in Web Editor NEW
32.0 3.0 14.0 1.6 MB

A random character generator for D&D 5e

Home Page: https://levi-blodgett.github.io/dnd-char-generator/

License: Apache License 2.0

HTML 9.05% CSS 7.43% JavaScript 83.52%
pdf javascript vanilla-javascript

dnd-char-generator's Introduction

5th Edition Random Dungeons and Dragons Character Generator

DESCRIPTION

An unofficial character generator for the 5th edition of Dungeons and Dragons.

It's supposed to create a random character for DnD, but with some logic behind it to make it all quite cohesive.

It provides a unique character every time.


USES FOR THIS GENERATOR

  • Creating your own character and not wanting to fill out every part of them
  • Quick one-shots, just print and go if you want, little to no prep required
  • Writing prompts/ideas for characters
  • DM tool for creating characters
  • Campaigns where you want a random character that can actually work
  • Campaigns where your PC's are a certain race, alignment, class, or background.

HOW TO SAVE AND PRINT

To edit:

  1. Click on a field while you're in a browser and before you save it
  2. Run the file in a PDF editor and edit the PDF, all forms are editable even as a PDF.

To save:

  1. While in a browser, press ctrl + P on your keyboard, select to print to PDF, name the file, and save.
  2. While in anything else, press ctrl + S.

To print:

  1. Press ctrl + P on your keyboard, select your desired printer, and print.

FAQ

  1. Why isn't there more supplemental content?

It is hard to add content to this, as scaling with just one person is always going to be difficult, but there is also the functionality of letting the user choose which ones they want included. Eventually I will probably add the option in the dropdowns to let the user checkmark each option they would like included, so if they hate dwarves or something, they don't need to just reroll them manually everytime or something.

  1. Why aren't there more character levels past level one?

Hard to add functionality, and there isn't much space on the character sheet really. It would be something I'd like to add in the future but it is hard to decide which order of things I should add first.

  1. What feature are you adding next?

I'd check my Twitter, also @me if you have any questions yourself as well. I try to add whatever will be the best option in terms of best functionality with least effort, as I can't devote my time to this like I could a job.

  1. Why did you create this?

For fun, I love programming and I love Dungeons and Dragons. I thought the world needed a real, practical DnD generator for characters, I felt it was WAY too lacking in this kind of area. This was my first big project with programming so don't roast my code too hard.

dnd-char-generator's People

Contributors

dependabot[bot] avatar levi-blodgett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

dnd-char-generator's Issues

Longer subrace dropdowns not auto-closing when no options are picked

The human and dragonborn dropdowns seem to not be auto-closing when the user deselects all of the subrace options manually, like the other subrace dropdowns.

Dropdowns located in index.html starting at line 37-51 and 83-96, respectively.

The logic is located in js/dropdowns.js, specifically the "on_subrace_dropdown_option_click" function.

pdf

not really an issue, but it would be great if you could make like 10 at once and then download them all in either 1 pdf file, or 1 file per character sheet, could be interesting!

New featire: specify level of character

Thank you for this very useful project!

My family and I are using it to generate characters for one-shot adventures, but many of those are written for characters above level 1. It would be great if we could specify to roll (for example) level-6 characters.

Broken in Internet Explorer, overflow on last page in Firefox

The application seems to format extremely badly in IE.

  • Dropdowns are all centered
  • Dropdowns are unable to be selected
  • Last page is formatted as 3 separate pages, instead of being a row
  • Last page on both IE and Firefox have scrollbars horizontally and vertically, even when not needed.

EDIT:

  • On both browsers the buttons are also targetable, which should be fixed

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.