Giter VIP home page Giter VIP logo

randomcharacter's Introduction

Random D&D Character Generator

By Ramanan Sivaranjan, 2012โ€”

Introduction

This is a small web application for generating random D&D characters. The default is to create Basic (Moldvay) D&D characters, but it can generate a variety of characters based on various systems similar to Basic D&D: Original D&D, Holmes, etc.

Supported Systems

You can also generate a list of NPCs and roll 3d6 in order or 4d6 drop the lowest.

Getting it Running

  1. Install Flask (pip install flask).
  2. Run python create.py

How It Works

This is a Flask web application. create.py is the flask app, which does all the routing. characterclass.py contains data and tables about various D&D systems and that sort of thing. character.py is where the magic happens. All the generators live here. They are assembled by inheriting from more generic chunks of code, mixing in features as needed. I'm still undecided if this is the best way to do this or not. The project has sort of grown organically over time, and I'm not sure I made the best choices. It has allowed me to make several tweaked generators for friends for their particular house-ruled games, which has been nice.

The generate for the fifth edition characters works slightly differently. It takes a runs an incomplete character through a series of processors that add more and more information to the character. I'm not sure this scheme works that well either.

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.