Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.
/ dicebag-bash Public archive

Bash script you can use to roll standard tabletop RPG die (d4, d6, d8, d10, d12, d20).

Notifications You must be signed in to change notification settings

tashicorp/dicebag-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dicebag

A simple Bash script you can use to roll standard tabletop RPG die (d4, d6, d8, d10, d12, d20) via the command line. Integration tests utilise the shunit2 library.

Dicebag

Usage

./roll.sh d20

#=> 6

You may wish to alias the script in your .bashrc as follows:

roll () {
  <path to roll.sh> $1
}

This will allow the following usage:

roll d20

#=> 17

Why?

This ridiculously simple Bash script was created as a way for me to practice my Bash scripting skills. I also enjoy creating CLI tools that do one tiny, marginally useful thing well.

About

Bash script you can use to roll standard tabletop RPG die (d4, d6, d8, d10, d12, d20).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published