Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Dungeons and Dragons die roller (Golf)

by choroba (Bishop)
on Sep 30, 2016 at 22:41 UTC ( #1173038=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    -p
    ($d,$s,$=)=split/[d+]/;map$=+=1+rand$s,1..$d;$_=$=.$/
             1         2         3         4         5
    12345678901234567890123456789012345678901234567890123
    
  2. or download this
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
    }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1173038]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-12-18 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (467 votes). Check out past polls.

    Notices?