https://github.com/kevcui/dice-roller
:game_die: Roll roll roll
https://github.com/kevcui/dice-roller
bash bash-script dice-roller dnd dnd-tools
Last synced: about 1 month ago
JSON representation
:game_die: Roll roll roll
- Host: GitHub
- URL: https://github.com/kevcui/dice-roller
- Owner: KevCui
- License: wtfpl
- Created: 2019-08-18T14:40:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-15T13:13:28.000Z (over 5 years ago)
- Last Synced: 2025-04-14T05:56:17.244Z (about 1 year ago)
- Topics: bash, bash-script, dice-roller, dnd, dnd-tools
- Language: Shell
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Dice Roller
===========
Roll... Roll... Roll...
## Usage
```
Usage:
./roll.sh [n]d[s]
Options:
n number of dice(s)
s dice side
```
## Examples:
- Roll 3d20:
```bash
$ ./roll.sh 3d20
3d20: 6 13 15
---
Total: 34
```
- Roll 1d2:
```bash
$ ./roll.sh d2
1d2: 2
---
Total: 2
```
- Roll 5d2, 4d8 and 1d20:
```bash
$ ./roll.sh 5d2 4d8 d20
5d2: 1 2 1 2 1
4d8: 7 3 1 7
1d20: 9
---
Total: 34
```