RPG attributes generator: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
(add BQN)
Line 1,010: Line 1,010:
<pre>Igual que la entrada de FreeBASIC.</pre>
<pre>Igual que la entrada de FreeBASIC.</pre>


=={{header|BQN}}==
Slightly different from the APL solution primarily due to builtin differences.
<syntaxhighlight lang="bqn"> _while_←{π”½βŸπ”Ύβˆ˜π”½_𝕣_π”Ύβˆ˜π”½βŸπ”Ύπ•©}
(2-modifier block)
Roll←{π•Š:{π•Š:((+Β΄-⌊´)1+4βŠΈβ€’rand.Range)Β¨6β₯Š6}_while_{(75>+´𝕩)∨2>+Β΄15≀𝕩}⟨⟩}
(function block)
Roll@
⟨ 11 16 12 10 16 13 ⟩</syntaxhighlight>
=={{header|C}}==
=={{header|C}}==
{{trans|Go}}
{{trans|Go}}