icepool
xdice
icepool | xdice | |
---|---|---|
13 | 1 | |
43 | 12 | |
- | - | |
9.1 | 0.0 | |
4 days ago | over 3 years ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
icepool
-
Dice Probability
My Icepool Python package can do this:
-
Icepool: Python dice probability package
Icepool is open-source. You can run Icepool anywhere you like: on a server, on your own computer, on your client's computer, on your phone, even offline. And if you're interested in understanding how it works, you can read through the source code, though for this purpose my paper on the dice pool algorithm may be a better choice.
-
Javascript alternative to anydice?
Still, I chose Python for my Icepool dice probability package; compared to JS, Python has BigInts by default (you can append n to literals in JS, but it is a little annoying); and operator overloading, which allows for more compact and readable syntax.
-
Probabilidades com cartas
While the main focus is dice, my Icepool Python package can do some types of card problems. Here is a simple example that computes the chance of dealing at least one H and one K from a deck:
-
Dice probability resources
I have some articles, but they do require some background in probability, and I haven't pursued these lines of inquiry in a while. More recently, I've been working on Icepool, a Python probability package. You may be interested in the collection of runnable notebooks. I also have a paper on the dice pool algorithm, which can handily outpace multiset enumeration systems such as AnyDice and Troll on a variety of problems, but I wouldn't exactly call it accessible to beginners.
-
Any interest in a Python based dice probability predictor?
Here's mine.. Depending on how far you want to go, you may also be interested in the accompanying paper.
-
Looking for Feedback: Opensource tool similar to Anydice.
And my own Icepool, which includes a high-efficiency pool algorithm.
-
Is there a card probability calculator?
My Icepool Python library has some deck support.
-
Feature requests for Snake Eyes dice probability calculator
If you are interested in learning more, you can read the preprint of my paper on the subject, or try my Icepool Python package, which is what powers the apps in the first two links.
-
Statistical Analysis of Rolling for Stats in Groups
You can compute the analytic solution efficiently with the right algorithms. I've implemented one such algorithm in my Icepool Python package, which reduces the computation to just a few lines and seconds. Here's an example of computing the distribution of the difference of the best and worst highest score for a party of 4.
xdice
-
Complex dice rolling system - Web/App
Or maybe spend 30 minutes learning enough Python to use a library like this: https://github.com/cro-ki/xdice
What are some alternatives?
dyce - Simple Python tools for exploring dice outcomes and other finite discrete probabilities
pydantic - Data validation using Python type hints
MicroPyScript - MicroPyScript: A test harness for multiple runtimes in PyScript
d20 - A fast, powerful, and extensible dice engine for D&D, d20 systems, and any other system that needs dice!
skyblock - Hypixel Skyblock Remake in Python.
EtherollApp - Provably fair dice game running on the Ethereum blockchain
penney - Penney's Game
GNOLL - GNOLL is an efficient dice notation parser for multiple programming languages that supports a wide set of dice notation
Rat-Game - Text-based, rpg, terminal game
hdroller
droll - An R package to analyze roll distributions
bayesian-testing - Bayesian A/B testing