RPG attributes generator: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) 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}} |