Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

A lightweight, intuitive and fully featured CLI dice roller. Tailored towards TTRPG's.

Installation

Install with pipx:

pipx install git+https://github.com/File48/dice-roller.git

Example uses

  • roll d4 -> Returns the roll of a 4 sided die.
  • roll 2d6 -> Returns sum of 2 rolls of a 6 sided die.
  • roll 3d8+1 -> Returns the sum of 3 rolls of an 8 sided die, with a +1 modifier.
  • roll d20-3 -> Returns the roll of a 20 sided die, with a -3 modifier.
  • roll 2d6kh -> Returns the highest value of 2 rolls of a 6 sided die (advantage).
  • roll 2d6kl -> Returns the lowest value of 2 rolls of a 6 sided die (disadvantage).
  • roll 3d10kh2 -> Returns the sum of the 2 highest values of 3 rolls of a 10 sided die (advanced advantage).
  • roll 6d8kl3+2 -> Returns the sum of the 3 lowest values of 6 rolls of an 8 sided die (advanced disadvantage), with a +2 modifier.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages