Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcombeau/goroll
A simple dice roller in Go.
https://github.com/mcombeau/goroll
dice dice-roller dice-rolls go golang
Last synced: 27 days ago
JSON representation
A simple dice roller in Go.
- Host: GitHub
- URL: https://github.com/mcombeau/goroll
- Owner: mcombeau
- License: mit
- Created: 2024-11-10T16:13:59.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T12:58:06.000Z (about 2 months ago)
- Last Synced: 2024-11-28T05:28:49.184Z (about 1 month ago)
- Topics: dice, dice-roller, dice-rolls, go, golang
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goroll: a Simple Dice Roller in Go
`goroll` is a simple dice roller written in [Go](https://go.dev/).
## Install
```shell
go install github.com/mcombeau/goroll@latest
```## Usage
```shell
goroll
```For example, to roll a six-sided die:
```shell
goroll 1d6
```To roll two twenty-sided dice, a four-sided die and five six-sided dice:
```shell
goroll 2d20 1d4 5d6
```---
Made by [mcombeau](https://miacombeau.com)