Skip to content
0
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Wandering Adventure Party

  1. Home
  2. Pathfinder
  3. Complex dice roll probability calculator.

Complex dice roll probability calculator.

Scheduled Pinned Locked Moved Pathfinder
rpg
11 Posts 6 Posters 165 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • illectrilityI illectrility

    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!

    Link Preview Image
    W This user is from outside of this forum
    W This user is from outside of this forum
    wutchilli@feddit.org
    wrote on last edited by
    #2

    Nice Work, but did you forgot to link the Website?

    illectrilityI 1 Reply Last reply
    0
    • System shared this topic on
    • W wutchilli@feddit.org

      Nice Work, but did you forgot to link the Website?

      illectrilityI This user is from outside of this forum
      illectrilityI This user is from outside of this forum
      illectrility
      wrote on last edited by
      #3

      Yes, yes I did... It's here

      1 Reply Last reply
      0
      • Mr. Omgits JafoM Mr. Omgits Jafo shared this topic on
      • illectrilityI illectrility

        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!

        Link Preview Image
        P This user is from outside of this forum
        P This user is from outside of this forum
        Pennomi
        wrote on last edited by
        #4

        Extremely impressive! I wrote a dice probability calculator myself recently, but abandoned perfect calculations in favor of a million roll simulation. What you have done is really quite lovely.

        1 Reply Last reply
        0
        • Mr. Omgits JafoM Mr. Omgits Jafo moved this topic from General on
        • illectrilityI illectrility

          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!

          Link Preview Image
          A This user is from outside of this forum
          A This user is from outside of this forum
          anexerciseinfalling@programming.dev
          wrote on last edited by
          #5

          This is super cool!

          Does it support things like max/min to simulate advantage/disadvantage?

          It would be really cool to mathematically compare different kinds of rolls, like the cascading dice damage post from a couple weeks ago (even if its not built into the notation, just writing out the logic by hand)

          illectrilityI 1 Reply Last reply
          0
          • A anexerciseinfalling@programming.dev

            This is super cool!

            Does it support things like max/min to simulate advantage/disadvantage?

            It would be really cool to mathematically compare different kinds of rolls, like the cascading dice damage post from a couple weeks ago (even if its not built into the notation, just writing out the logic by hand)

            illectrilityI This user is from outside of this forum
            illectrilityI This user is from outside of this forum
            illectrility
            wrote on last edited by
            #6

            No, there is no advantage or disadvantage functionality. I made it purely for balancing, so finding out the average damage a character would do. In that case I would just write out all the different rolls the character would do when attacking and have the program calculate using that. It's pretty barebones

            A 1 Reply Last reply
            0
            • illectrilityI illectrility

              No, there is no advantage or disadvantage functionality. I made it purely for balancing, so finding out the average damage a character would do. In that case I would just write out all the different rolls the character would do when attacking and have the program calculate using that. It's pretty barebones

              A This user is from outside of this forum
              A This user is from outside of this forum
              anexerciseinfalling@programming.dev
              wrote on last edited by
              #7

              Still a very cool project! Fun to play around with

              1 Reply Last reply
              0
              • illectrilityI illectrility

                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!

                Link Preview Image
                neodc@sh.itjust.worksN This user is from outside of this forum
                neodc@sh.itjust.worksN This user is from outside of this forum
                neodc@sh.itjust.works
                wrote on last edited by
                #8

                How does it compare with https://anydice.com/ ?

                illectrilityI 1 Reply Last reply
                0
                • illectrilityI illectrility

                  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!

                  Link Preview Image
                  J This user is from outside of this forum
                  J This user is from outside of this forum
                  jcr
                  wrote on last edited by
                  #9

                  I am working on a dice expression evaluator on my side, and I will certainly reuse your code if I can ! Thanks for giving the example, as a GNU enthusiast, it is very nice ! Great job making it work !

                  illectrilityI 1 Reply Last reply
                  0
                  • neodc@sh.itjust.worksN neodc@sh.itjust.works

                    How does it compare with https://anydice.com/ ?

                    illectrilityI This user is from outside of this forum
                    illectrilityI This user is from outside of this forum
                    illectrility
                    wrote on last edited by
                    #10

                    Pretty similar but I couldn't get re-rolls to work on there. That's the main reason I made this

                    1 Reply Last reply
                    0
                    • J jcr

                      I am working on a dice expression evaluator on my side, and I will certainly reuse your code if I can ! Thanks for giving the example, as a GNU enthusiast, it is very nice ! Great job making it work !

                      illectrilityI This user is from outside of this forum
                      illectrilityI This user is from outside of this forum
                      illectrility
                      wrote on last edited by
                      #11

                      Best of luck to you. I think my code is quite messy but if you can use any of it, feel free!

                      1 Reply Last reply
                      0

                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post