https://github.com/nalderto/custom-dice-simulation
An AP Statistics demonstration with various amounts of dice
https://github.com/nalderto/custom-dice-simulation
python3 statistics tkinter
Last synced: 11 months ago
JSON representation
An AP Statistics demonstration with various amounts of dice
- Host: GitHub
- URL: https://github.com/nalderto/custom-dice-simulation
- Owner: nalderto
- Created: 2017-10-14T01:00:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-14T03:54:07.000Z (over 8 years ago)
- Last Synced: 2025-02-02T05:26:19.615Z (over 1 year ago)
- Topics: python3, statistics, tkinter
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom-Dice-Simulation

### What is it?
This is a program that was made for an AP Statistics project to demonstrate the probabilities of the bank/player winning with various amount of dice. The player (red dice) is a special 8 sided die with 3 of the side having 5 dots, while the rest of the sides having the value 1, 2, 3, 4, and 6. The bank (green dice) are just regular 6 siced dice.
### How does it work?
The user selects the number of dice they want for the bank and player. They have the choice of running the simulation once or they can run the simulation multiple times, as long as there is a number entered in the "Number of Simulations" dialog box. The clear button clears all the statistics regarding the number of wins and the probabilities for the bank/player.
### How do I run it?
All that is needed is a Python 3 interpreter and the files in this repository. Please note that the .gif files need to be in the same folder as the execuited "Custom Dice Simulator.py" file. Once the files are unzipped and in a folder, set the current working directory to that folder and run `python3 Custom\ Dice\ Simulator.py`.