lmyint / rdnd

0 stars 0 forks source link

Neat idea! #1

Open mdscheuerell opened 6 years ago

mdscheuerell commented 6 years ago

Hey Leslie. Just wanted to say that I thought this was pretty cool. BTW, how do you decide what random seed to use when running getStats()? A quick search over the first 1e6 suggests this is a pretty good choice:

> set.seed(87625)
> getStats("roll")
        Rolls        Final stat
Stat 1: 6, 5, 4, 5   16
Stat 2: 6, 6, 2, 6   18
Stat 3: 5, 6, 2, 6   17
Stat 4: 2, 6, 5, 5   16
Stat 5: 6, 6, 2, 5   17
Stat 6: 6, 5, 6, 6   18

😉

lmyint commented 6 years ago

Ha! As long as your dungeon master doesn't know...

I find that this seed makes for more compelling roleplaying:

> set.seed(23466)
> getStats(method = "roll")
        Rolls        Final stat
Stat 1: 6, 6, 6, 4   18
Stat 2: 3, 2, 1, 1   6
Stat 3: 6, 4, 6, 1   16
Stat 4: 6, 4, 6, 4   16
Stat 5: 3, 6, 6, 4   16
Stat 6: 1, 5, 5, 6   16

😉

Thanks for having a look, Mark!