Comments (2)
The README says in the first paragraph the results are still uniformly distributed.
from gamblers-dice.
It's uniformly distributed for large sample sets. But for small ones, it's not. A downside is that it is prone to cycling for dice sizes that are small (like d4s) to the point where you can (with >25% accuracy) predict the next number.
Take a look at https://cletusw.github.io/gamblers-dice and choose a small dice size and see if you can predict what it will be based on the previous rolls. Your success rate should be higher than if you did it with a regular die, which is the point.
from gamblers-dice.
Related Issues (8)
- Make repeats less likely HOT 1
- Ensure your entropy HOT 2
- Implement in physical dice HOT 2
- true uniformity HOT 3
- I ported this to Java HOT 1
- Rolling a zero is possible
- [Request] Python 3 Port HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamblers-dice.