Dicelab is a tool to calculate the probability distribution of dice rolling schemes, and to roll dice accoring to such schemes.
This can be used to analyse or design games, but may be useful in other situations as well.
Using a formal language to specify the dice rolling schemes allows dicelab to handle many, if not most, real and imaginable dice rolling problems.
Assuming a fictional table-top roleplaying game uses the following scheme to determine success or failure: the player rolls N dice (determined by her skill), and discards all the lowest N-2 dice.
The remaining two dice are summed up and compared against a problem-specific threshold T.
If e.g. a player with a skill of three would try to beat a threshold of 10, what would be his odds? dicelab allows calculating just that:
keep high 2
which would result in the following output:
- Can precisely calculate the distribution, roll the dice and estimate the distribution by rolling many times and summing up.
- Interface allows usage in scripts.
- Full-featured formal language that allows to specify most dice rolling schemes.
- Internal optimiser that reduces the complexity of many rolls.
Dicelab comes with a manual that tries to explain the usage and the formal language. This manual can also be viewed online: dicelab_manual.pdf.
If you want to check whether the current version contains any changed relevant to you, please refer to the ChangeLog.
The basic dicelab distribution contains the sources and has to be compiled manually to be usable. For Windows users, who often have problems compiling programs themselves, a separate file containing pre-compiled windows binaries is provided. Please note that dicelab may be provided through your distributions packaging system on some operating systems (e.g. Debian and Ubuntu).
Jul 07, 2007
Mar 22, 2007
Feb 21, 2007
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog: