justinian / dice

Golang dice library
MIT License
20 stars 13 forks source link

Setting Random Generator #10

Open deefdragon opened 3 years ago

deefdragon commented 3 years ago

Given the structure of dice, it looks like it would be rather trivial to set up the ability to use a custom rand. At least for each individual Roller, given they are all already structs. Setting a base/'dice global' one would be a little more tricky. I would be willing to submit a PR if it would be accepted.

justinian commented 3 years ago

I would definitely be open to that!