Roll.cx: A Simple Dice Roller

Roll.cx is a simple dice roller. You can use it like so:

$ curl roll.cx/d20
d20: 7 = 7

If you want to rull multiple die at once, you can do something like this:

$ curl roll.cx/2d20,1d6
2d20: 12 + 9 = 21
1d6: 3 = 3

If you want something a little more machine readable, try passing a different content type:

$ curl -H "Content-Type: application/json" roll.cx/3d20,2d6,1d12
[{"roll":"3d20","result":[4,18,14]},{"roll":"2d6","result":[5,4]},{"roll":"1d12","result":[1]}]