PREM is a probability calculator inspired by AnyDice. If you've used that tool, much of PREM will be familiar to you. If not, just know that PREM can tell you the likelihood of each possible outcome of random events like card draws and dice rolls.
How to use PREM
PREM generates output when it reads an output
statement, such as:
output 2d6
The expression after the output
keyword tells PREM what to compute the results of. In this case, we ask for the result of 2d6
, or two traditional 6-sided dice.
PREM gives each output a default name: output 1, output 2, and so on. For more descriptive names, we can use the as
keyword to rename an output:
output 2d6 as "Two dice"