Description:
A fast-paced dice-based game that teaches probability through prediction and chance. Roll animated dice, predict outcomes, and build your score using logic and luck.
Simple retro UI, smooth dice animations, and educational fun for all ages.
- Animated dice rolls using 24 split images
- 8+ probability questions with scoring
- Score tracking and simple restart / game over system
- Clean UI and retro font (Press Start 2P)
- Smooth gameplay with simple background
- Space → Roll the dice
- Number Keys / Input → Answer probability questions
- Restart → Reset the game after game over (Press 'R')
- Clone this repository:
git clone https://github.com/codeWace/Probability-Dice-Game.git
- Copy code:
cd "Probability Dice Game"
- Install dependencies:
pip install pygame
- Run the game:
python main.py
1- Font: Press Start 2P by The Press Start 2P Project Authors (CodeMan38)
- Licensed under the SIL Open Font License 1.1
- License file included as assets/fonts/OFL.txt
2D Dice by Touzi
- Licensed under CC0 (Public Domain) - free to use, attribution given voluntarily.
- License file included as assets/dice/LICENSE.txt
- This project is for educational and non-commercial purposes.
- All assets and fonts are used under their respective licenses.
- Questions and score sizes are adjustable in main.py under the font definitions.
- Dice roll animation can be adjusted by changing the frame speed in main.py.
- The background is static for smooth performance but can be replaced or animated.

