RPG attributes generator: Difference between revisions
m
→{{header|Commodore BASIC}}
(→{{header|Commodore BASIC}}: Don't need to fully sort the dice, just put the smallest one last) |
|||
Line 1,248:
460 for x=0 to 2
470 if di(x)<di(x+1) then t=di(x):di(x)=di(x+1):di(x+1)=t
480 next
490 return</lang>
|