RPG Dice is intended to be a universal RPG dice roller. It's not there yet, but it's coming along. It currently has what I believe to be a universal dice parser, which is the core of what makes this work. For the app itself to be truly universal, though, it needs to directly support more game systems than what is represented currently. I hope to get feedback on that soon.
Dice Specification
You can roll just a single die, two dice, three dice, four dice, etc. Up to 10 dice simultaneously. For example, for DnD you can select a 4-sided, 6-sided, 8-sided, 10-sided, 12-sided, or 20-sided die and click 'Roll Dice' to roll just one dice. Play online dice games like Yahtzee, Pig, Farkle, Balut, Snakes and Ladders, Generala for free. Play online domino games. No download required. Play against computer or another player. This page allows you to roll virtual dice using true randomness, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs.
Dice specifications are provided via a mini-programming language. This is the core of what can make RPG Dice a universal roller. Currently it handles every dice-based system I'm aware of and some I've not seen in the wild. The systems I know it supports include traditional (A)D&D, Shadowrun 2nd Edition, Palladium (including initial attributes) and White Wolf's Storyteller system from World of Darkness and others. It also supports house rules from several of them. For instance, I used to roll AD&D stats by rolling 4D6 and discarding the lowest die. That can be done with the 4D6:>3 spec.
The following is an attempt to summarize all the parts of the dice spec.
- nDs
- Roll n dice with s sides. Examples: 2D6 (roll two 6-sided dice), 4D10 (roll four 10-sided dice)
- Use the JS font loader so the selector doesn't get positioned until fonts are loaded.
- Add a clear button to the history.
- Get the history to take up the entire extra visible section of the page without adding a scroll bar to the page. A scroll bar on the history section itself is probably necessary.
- Try to get the dice count selection for WoD to better match styling for the rest of the page.
- Consider adding buttons for number of dice for WoD. Would help with the above.
- Handle chance dice and willpower dice for WoD.
- Fix sizing on the spec input/button. There's a mismatch there.
- Display (somehow) the currently selected page. This could just be by using the
:checked
selector as the WoD selector does. - Add the ability to click on a history item to get details and/or re-roll that dice spec.
- Select heading of result to change label in history. That makes the above more useful.
- Add a
Save
button on the result to save the roll definition. Should eventually save to a server, but initially will use local storage. - Add a spec builder, or maybe a natural language parser along the lines of “roll 6d6. Discard the lowest roll” or “Roll 5d10. Count the number of dice with a value of 8 or higher. Re-roll 10s, adding values of 8 or higher to the number of successes. Continue to reroll 10s until none are rolled”.
- Add a means to save specs and add them to pages.
- Simplify adding pages. Right now you need to add the
a
element as well as the actual page. It should be possible to just add the page. - Make the different pages into plugins, allow each one to be self-contained, including the custom JS/CSS needed.
- Utilize the JS history API to control and use the URL.
- Make the initially open page/group persistent. That is, if nothing is specified in the URL, open to the last page that was open.
- Split the Help page into three tabs: Help, To Do, Credits.
- Center the Help page. Probably easiest with media queries. So if page width > 40rem, set it to 40rem and use standard centering techniques. Otherwise, set to 100% (minus nice margin).
- Fix release tool so it properly conjoins the JavaScript files so they still launch.
- Copyright ©2013 Michael D Johnson. All rights reserved. However, it will soon be released under an open source license. I'm not sure which one yet, but I'm leaning toward AGPL. The core dice library may be released under a more liberal license. I'm still contemplating how it should work.
- Entypo pictograms by Daniel Bruce used for various control icons (e.g. the close buttons and menu buttons).
Enter the type of roll you want in the 'Dice to roll' text area, like'3d6+5' or '2d10 - 2D6 -4' or 2dF. For D&D roll modifiers,use H and L to add or drop Highest or Lowestvalues, like '4D6-L' or '4D6-2L+H', or use R to let the dice generator reroll ones like '4d6R'. Use E toadd extra die when result reach its max, like '4d10E'. Reroll onesis applied only once, and never to extra dice. E and R are applied before anyL or H modifiers.
Option: you can add a success test against some fixed value, or another diceroll if you need rolling dice like'4d10-L+H -4d6RE -2d10R +1 >= 2d12+H -3d4RE-L'.
Fudge dice: notation for fudge dice is dF, so to have the sum of 4 fudge dice: roll 4dF.
Then press the 'Roll !' button.
Advanced usage: send the dice results by mail or open a dice logto publish several rolls on a private web page.
For these features, validationof your mail address on the registration page is required.(Registration is free, its only purpose is checking that yourmail address is working). Moreover, you will havea security warning about Invalid Certificate the first time you try ahttps
page on this web site,read this page to know why you could accept the security exception.
Dice mail service : send the dice results by mail, a quickway to send secure dice results to players.
Dice log service : open a dice log, morepractical than mail for regular players of a PBEM: use a blog to share dice results and comments of a game, in real time for online players (352 dice log active at the moment).
Dice log service : join an existing dice log, access to your ownonline dice generator blog.
Dieroll Metal Products Inc
Support :
Verification:
If you received a mail with some dubious dice results, you canverify there the original results with the Verification Number.
Counter:
Free Dice Roller
Number of dice rolled: 1026949922
The die roller provides quality random results
Current entropy: 1684500