Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.84 KB

README.md

File metadata and controls

63 lines (51 loc) · 2.84 KB

Character Generator for D&D 5e

A JavaScript console app that randomly generates a D&D character out of a pre-set collection of races, classes, backgrounds, and randomly rolled ability scores (strength, wisdom, dexterity, etc.)


Introduction

Use this application to generate random playable or non-playable characters for your D&D campaign. Take the character as generated and put them in your game or use it as a source of inspiration to craft the perfect character for your setting or situation.

Table of Contents

Features

Prints a randomly generated character (out of a pre-set collection of races, classes, backgrounds, and randomly rolled ability scores) to the console. Ability scores are randomly generated based off the house rule of rolling 4d6 7 times, rerolling 1's, adding the three highest numbers for each set, and dropping the lowest set

Technologies

  • JavaScript
  • Node.js

Setup

To be able to run this script, you need to setup Node.js locally in your machine.

Usage

Once you have Node.js set up, run the script.

...\your-script-directory> node script.js

Output

After you run the script, a character should be randomly generated and printed to the console. Below is an example. Yes they were rolled randomly. Yes I wish I had been rolling for an actual character.

...\your-script-directory> node script.js
YOUR RANDOMLY GENERATED CHARACTER:
Tortle Barbarian - Gladiator background
Strength [10]
Dexterity [13]
Constitution [11]
Intelligence [12]
Wisdom [11]
Charisma [15]

License

MIT


Open in Visual Studio Code GitHub contributors GitHub release (latest by date) GitHub forks GitHub stars GitHub GitHub issues Discord Twitch Status YouTube Channel Subscribers