RPG attributes generator: Difference between revisions

→‎{{header|APL}}: Correct to 6 stats instead of 5
(→‎{{header|UNIX Shell}}: Add implementation.)
(→‎{{header|APL}}: Correct to 6 stats instead of 5)
Line 549:
{{works with|Dyalog APL}}
 
<lang APL>roll←{(+/-⌊/)¨?¨56/⊂4/6}⍣{(75≤+/⍺)∧2≤+/⍺≥15}</lang>
 
{{out}}
 
<pre> roll''
1510 159 1713 1516 1811 17
roll''
18 1514 1512 138 15 1614
roll''
1416 1716 15 17 16 1511
roll''
1315 1814 168 1615 1412 15</pre>
18 13 17 17 14
roll''
13 18 16 16 14</pre>
 
=={{header|ARM Assembly}}==
1,480

edits