Yu-Gi-Oh! probability estimator for deck consistency
- Install git
- Windows: Follow the instruction
- Linux: If you use linux you can probably figure it out
- Install python with the version in
.python-version. I recommend using uv to simplify installation. You can follow uv installation instruction to install it into your machine. For Windows user I recommend using winget method
-
Prepare a deck file. You can check the
sample.tomlfile that I've created for how to create the deck file -
Open a terminal and run the below command for calculating the probablity of the deck:
uv run main.py probability --deck sample.toml
-
The results should look like this:
None-engine card ratio is: 11/44 Probability of success main deck with hand of 5: 83.98% Probability of success side deck with hand of 6: 86.83%
This helper function is for finding a list of combination from 2 card combo
-
Prepare a file with the combination field like in the
sample.tomlfile -
Open a terminal and run the below command, it will list out all the 2 card combinations from the input list
uv run main.py combination --file sample.toml
-
The results should contains all the combinations of 2 card combo that you want
Chef AND Pois Chef AND Menu Chef AND Concours Chef AND Diviner Chef AND Angry Chef AND Restaurant Pois AND Menu Pois AND Concours Pois AND Diviner Pois AND Angry Pois AND Restaurant Menu AND Concours Menu AND Diviner Menu AND Angry Menu AND Restaurant Concours AND Diviner Concours AND Angry Concours AND Restaurant Diviner AND Angry Diviner AND Restaurant Angry AND Restaurant
-
To get new release of the program, you can run the following command inside the folder:
git pull
- I forked this from flipflipshift, many thanks for the inspiration
- I decided to fork this repository for my personal usage. The original scripts, while convenient by allowing running on browsers, make it hard to maintain multiple deck list, so I forked it and make it work on local machine instead