May 21, 2020 4:17 pm
So it's been pointed out to me that the GP dice roller can sometimes be funky, and I wanted to bring up something that has been raised in the past: dice strings.
A lot of other online dice rollers roll dice with keys in the string you enter, and I'm considering if I should swap to that in the v2, stay the same as we have now, or go for a hybrid.
Lets look at Reroll Aces as an example. A potential dice string for that could be something like:
4d6[Ra]
This would tell the dice roller to roll 4d6, and reroll aces on all the dice rolled. Anything in the square brackets gets checked against valid options, for example we could add Adv for advantage or Dadv (I donno how much I like that) for disadvantage, a la DnD, or Ex for exploding dice.
We can also set dice type via a different type of key, which i was thinking would be in curly braces. So if you wanted to roll 4 Fate dice:
{F}4
(For Fate, maybe even allow someone to not enter a number, to default to 4). We'd have SWFFG, F, and FS for Star Wars FFG, Fate, and Feng Shui accordingly.
So I wanted to get people's thoughts. I'm not positive which if any to implement. I think the dice options ([]) idea is good, and we can have options for different dice types that need it. I think there's something to the dice type option as well, but maybe the current dropdown is good enough for that? Maybe I'm overthinking this entirely, and we just need the dice options for standard dice?
A lot of other online dice rollers roll dice with keys in the string you enter, and I'm considering if I should swap to that in the v2, stay the same as we have now, or go for a hybrid.
Lets look at Reroll Aces as an example. A potential dice string for that could be something like:
4d6[Ra]
This would tell the dice roller to roll 4d6, and reroll aces on all the dice rolled. Anything in the square brackets gets checked against valid options, for example we could add Adv for advantage or Dadv (I donno how much I like that) for disadvantage, a la DnD, or Ex for exploding dice.
We can also set dice type via a different type of key, which i was thinking would be in curly braces. So if you wanted to roll 4 Fate dice:
{F}4
(For Fate, maybe even allow someone to not enter a number, to default to 4). We'd have SWFFG, F, and FS for Star Wars FFG, Fate, and Feng Shui accordingly.
So I wanted to get people's thoughts. I'm not positive which if any to implement. I think the dice options ([]) idea is good, and we can have options for different dice types that need it. I think there's something to the dice type option as well, but maybe the current dropdown is good enough for that? Maybe I'm overthinking this entirely, and we just need the dice options for standard dice?