Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)