Giter Site home page Giter Site logo

dndice's Introduction

DnDice

D&D format command line dice roller and statistics generator

Installation

On Linux run the following in the dndice directory, it requires root access:

./install.sh

Usage

Once installed, DnDice can be used by running:

dndice [options] [dice]

Dice Formatting

Dice are formatted in the same style as in D&D and many other RPGs. Meaning, NdM means N M sided dice are rolled and their results summed. Multiple set of dice and constants can be added with +, subtracted with -, and multiplied with * or x placed between them.

+N or -N will be assumed to be 1d20+N or 1d20-N.

Options

--version Prints version information.

--help or -h Prints a help menu.

--quiet or -q Causes the program to prints minimal infomation, generally only the results or rolls.

-n <number> Rolls the provided dice the number of times indicated, instead of once.

--stats <method> or -s <method> Generates character ability scores instead of rolling dice. The methods available:

  • std Uses the standard ability score array provided in the D&D 5e Players Handbook.
  • d20 Rolls 1d20 for each ability score.
  • 4d6 Rolls 4d6 and then sums the highest 3 for each ability score.

dndice's People

Contributors

pennbauman avatar

Watchers

 avatar  avatar

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.