Code Monkey home page Code Monkey logo

Comments (3)

nashjaee avatar nashjaee commented on August 26, 2024

I ran a couple simulations of the dice (just a script that spawns and rolls the dice a bunch, then outputs the data). Results are attached in the images. One of them is with bounciness=0, which is how the mod currently works. The other is changed to bounciness=1.

I had some help from Screwtape to do the actual analysis. The chi-sq test on the B=0 is in the realm of probably ok, but worthy of attention. B=1 is significantly better, as I think the extra bouncing and spinning introduces more randomness and prevents those odd situations where the dice just spin in the air parallel to the table. Not to mention it's more fun because they better reflect physical dice :)

I think it's worth considering making this the default setting on the dice. I'd also like to run simulations with a greater number of trials.

bounce_1
bounce_0

from tts.

matanlurey avatar matanlurey commented on August 26, 2024

Super cool @nashjaee thanks! I agree B=1 seems more fun.

There has been concerns that the blue dice roller is better than the red. Did you have any simulations on that?

from tts.

nashjaee avatar nashjaee commented on August 26, 2024

These numbers were run using the blue roller. I can try the red one as well to compare.

Also note: this was run using a red attack die. Not that it matters I think as all 8 die faces are expected to be equal. I should also do the 6-sided dice for completion's sake.

from tts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.