Inspiration
Dungeons & Dragons is a popular tabletop role-playing game which has recently become more popular than even the time of its creation in the 1970s and 80s. This game has drastically impacted the lives and lifestyles of all our group's members, and we wanted to make sharing our passion even easier. One of the most difficult aspects of starting to play Dungeons & Dragons, in any edition, is creating a character. Normally, character creation is a long and involved process that can take hours for even seasoned players. This code was designed for someone just starting the hobby, who wants to jump right in and play with a new character.
What it does
Randomly generates a first-level character, including race, sub-race, class, starting money, ability scores, and proficiencies
How I built it
Several layers of nested random values select which stats to prioritize, which skills to choose at random, and which race, class, and background the character will have. Various checks to ensure no skill selections overlap with each other
Challenges I ran into
Formatting, but also the source material. In the book this data was pulled from, the Fifth Edition Player's Handbook for D&D, skill proficiencies from races, classes, and backgrounds have the potential to conflict and overlap, which needed to be addressed in the code itself.
Accomplishments that I'm proud of
Completing a tool that will be useful for instant character generation, at least from the standpoint of a person running a D&D game; writing approximately 2000 lines of code in less than 24 hours
What I learned
Organization and planning skills, successful work distribution and task management
What's next for Dungeons & Dragons Character Generator
Implementing Personality Traits, Bonds, Ideals, and Flaws based on each Background, Character name, Spells,and Equipment
Log in or sign up for Devpost to join the conversation.