☰
Debian Codegraph
@
2.08-2
/
/
tests
/
inputs
/
rand.apl
☽
☼
tests/inputs/rand.apl
code
plain
raw
GPL-2+
Copyright (C) 2006-2026 Al Danial <
[email protected]
>
debian/copyright
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