I made a web page where you can simulate a complex dice roll sequence with conditionals (e.g. re-roll when roll is a 1) using a Python-like syntax. (Click the “Toggle Syntax” button to view examples)

It needs a second to load because it has to load a Python interpreter in the background (I’m not good at web development) but once that’s done, it works really well.

I now have it in a state where I’m happy with it and can check all the dice sequences I need for balancing etc.

Maybe some of you could use it too.

There’s also just the Python version available to run locally here

Everything is GPLv3, enjoy!

  • illectrility@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    Well, I had a look at anydice.com but I couldn’t get re-rolls to work. So I made this specifically with re-roll functionality in mind. All in all they’re pretty similar, though.