Giter VIP home page Giter VIP logo

dnd-randomised-character-creator-wip's Introduction

Dungeons & Dragons 5E(SRD) random character creator

Creates a random D&D 5e Character sheet

Compliant with the SRD

dnd-randomised-character-creator-wip's People

Contributors

cadesh avatar cindyledev avatar hedgehogholly avatar kingfruit85 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dnd-randomised-character-creator-wip's Issues

[ADD] Additional Halfling names

Add additional first names and surnames to names.js

names can be generated from several online fantasy generators

I know it's simple but good for a total beginner learning forking, cloning & pull requests.

[ADD] Additional Half-Elf names

Add additional first names and surnames to names.js

Because halfelves can have a mixture of human/elf parents, perhaps adding the option for a half elf to have a human first name, elven surname or visa versa would be cool

names can be generated from several online fantasy generators

I know it's simple but good for a total beginner learning forking, cloning & pull requests.

[BUG] Ability score modifiers

While reviewing #47 I generated a number of character sheets to confirm the armor class scores returned correctly.

First issue i came across was a sorcerer with a dex score of 10, and the dex modifier was -1 (should be 0)

Second issue was a warlock wearing leather armor with a dex score of 12, a dex modifier of 0 (should be +1) and and a calculated armor class of 10 (should be 13)

Need to test further to find out what is causing this, is it the push request in #47 or has the bug always been present?.

[ADD] Backstory generator

Would be cool if this pulled values from the character creation to tailor the backstory. For example if the character is super strong maybe his background was in manual labour, or if he’s quite charismatic maybe he has a history of getting into tricky situations and having to talk his way out of them.

[IMPROVE] Alphabetise Names and Add Sections

To make the names file easier to read it might be good to put them in alphabetical order by race and add a comment to separate sections e.g:

/* DWARF */

femaleDwarfNames
maleDwarfNames
dwarfSurnames

/* HUMAN */

femaleHumanNames
maleHumanNames
humanSurnames

/* TIEFLING */

femaleTieflingNames
maleTieflingNames
TieflingSurnames

Merge added bug in names.js file

I noticed, when running the code, that a previous merge added a bug at the bottom of the name.js (around line 1415).

...
return character;
}

<<<<<<< HEAD

=======
c2d4185
exports.returnRandomName = returnRandomName;

[UPDATE] Armor.js

Some armor objects currently display their ArmorClass property as:

ArmorClass: "12 + DEX"

This should be changed to something like "baseArmorClass" & additionalModifier

This will make the writing of the armor class calculation fuction a lot easier

[ADD] Additional Gnome names

Add additional first names and surnames to names.js

names can be generated from several online fantasy generators

I know it's simple but good for a total beginner learning forking, cloning & pull requests.

[UPDATE] returnRandomName()

In names.js

expand returnRandomName() to return a name suitable for the race/gender supplied as an arguement.

[REFACTOR] allspells.js

long strings are currently using the '' newline escape character, I have noticed this causes print issues and parse issues with online JSON readers.

Need to think of a better way to do this

[ADD] Additional Half-Orc names

Add additional first names and surnames to names.js

names can be generated from several online fantasy generators

I know it's simple but good for a total beginner learning forking, cloning & pull requests.

[ADD] Additional Tiefling names

Add additional first names and surnames to names.js

names can be generated from several online fantasy generators

I know it's simple but good for a total beginner learning forking, cloning & pull requests.

[ADD] Racial Ability proficiencies

Some racial abilities such as 'Keen Senses' give the character proficiency in the perception skill.

Build a function that considers the characters racial abilities and adds any bonus proficiencies

[REMOVE] unused name collections and function

In core.js

const maleFirstNames
const femaleFirstNames
const surnames
&
function returnFirstName()
function returnLastName()

are no longer used in name generation, new collections and functions have been created in names.js.

Should be removed and tested to make sure nothing breaks. :)

I know it's pretty simple but good for a total beginner learning forking, cloning & pull requests.

[CHANGE] Flatten JSON character object

Would probably be easier for readability of code to have the output of NewCharacter() be more of a flat JSON object with no(or fewer) nested properties

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.