Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A dice probability calculator in multiple languages

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Dice

A dice probability calculator in multiple languages

Usage:

[prog] [ XdY | constant ] ...

Frex:

lua dice.lua 1d4 1d6 1d8 1d12 -17
nodejs dice.js 1d4 1d6 1d8 1d12 -17
perl dice.pl 1d4 1d6 1d8 1d12 -17
php dice.php 1d4 1d6 1d8 1d12 -17
python dice.py 1d4 1d6 1d8 1d12 -17
ruby dice.rb 1d4 1d6 1d8 1d12 -17
gst -f dice.st 1d4 1d6 1d8 1d12 -17

sh compC.sh
c.exe 1d4 1d6 1d8 1d12 -17

sh compHaskell.sh
haskell.exe 1d4 1d6 1d8 1d12 -17

sh compJava.sh
java dice 1d4 1d6 1d8 1d12 -17

sh compRacket.sh
racket.exe 1d4 1d6 1d8 1d12 -17

Something went wrong with that request. Please try again.