Debian Codegraph @

tests/inputs/rand.apl

raw
1 ⍝ https://github.com/vendethiel/trying.apl
2 ⍝ monadic: roll
3 ?3 4 5
4
5 ⍝ just generate dices 25x 1d20
6 ?25⍴20
7
8 ⍝ how many critical hits? sum of the dies that rolled 20
9 ?25⍴20
10
11 ⍝ dyadic: deal
12 ⍝ same as ?⍵⍴⍺
13 3?1000