Dice
From ThorxWiki
(Difference between revisions)
(more layouts) |
m (.) |
||
Line 39: | Line 39: | ||
<pre> |
<pre> |
||
function: SEQUENCE:s has N:n and NN:n or NNN:n{ |
function: SEQUENCE:s has N:n and NN:n or NNN:n{ |
||
− | result: (SEQUENCE=N) & ((SEQUENCE = N) | (SEQUENCE = NN)) > 0 |
+ | result: (SEQUENCE=N) & ((SEQUENCE = NN) | (SEQUENCE = NNN)) > 0 |
} |
} |
||
− | output [2d6 has 4 and 6 or 3] |
+ | output [2d6 has 2 and 4 or 3] |
</pre> |
</pre> |
||
Revision as of 11:54, 10 December 2019
Dice are an essential part of many games.
This is an exploration of probabilities of D6.
The faces are generalised to A,B,C,D,E,F and order is not important
Requirement | 1D6 | 2D6 | 3D6 | 4D6 | 5D6 | 6D6 | 7D6 | 8D6 | 9D6 | 10D6 | 11D6 | 12D6 | 13D6 | 14D6 | 15D6 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A OR B OR C | 3/6 | ||||||||||||||
A OR B | 2/6 | ||||||||||||||
A | 1/6 | ||||||||||||||
(A OR B) AND (C OR D) | n/a | ||||||||||||||
(A AND B) OR (C AND D) | n/a | ||||||||||||||
A AND (B OR C) | n/a | ||||||||||||||
A AND B | n/a | ||||||||||||||
A AND (B OR C) AND (D OR E) | n/a | na | |||||||||||||
A AND ((B AND C) OR (D AND E)) | n/a | na | |||||||||||||
A AND B AND (C or D) | n/a | na | |||||||||||||
A AND B AND C | n/a | n/a | 1/36 |
Infos
- Useful site https://anydice.com/
Can craft custom functions there, such as
function: SEQUENCE:s has N:n and NN:n or NNN:n{ result: (SEQUENCE=N) & ((SEQUENCE = NN) | (SEQUENCE = NNN)) > 0 } output [2d6 has 2 and 4 or 3]