amacrobert/dice-roller

A command-line polyhedral dice roller, perfect for RPGs

1.0.1 2020-08-30 15:14 UTC

This package is auto-updated.

Last update: 2025-06-29 01:59:09 UTC


README

Command-line polyhedral dice roller

CLI Dice Roller Output

Usage

Roll once:

$ roll 3d6+2

Or roll interactively:

$ roll
roll> 3d6+5
roll> d20
roll> quit

Installation

  1. Install globally via Composer:
$ composer global require amacrobert/dice-roller
  1. If you don't already have your global composer bin directory as part of your PATH, add it in your shell profile:
export PATH=$PATH:$HOME/.composer/vendor/bin/