Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

trentbitterman/dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice

Build Status

What is dice?

Dice is a program that can "roll" any number of dice with any positive and non-zero number of sides.

Usage

At the moment, it only takes two arguments: number of dice and number of sides. These can be specified using the -n and -s options.

Example

$ dice -n 11 -s 5
5 5 4 1 5 3 4 4 2 2 1

Future Goals

There are a few features I am currently planning on adding in the near future and probably more after that. They are:

  • Output rolls to a file
  • Get statistical information about rolls, e.g. min, max, mean, sum, mode
  • Read a file specifying rolls as input in the format: "2d6 1d20", for example.

Contributing

If you randomly came across this project and would like to contribute, please do.

About

A program that lets you roll the dice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages