Based on v1 (Advanced Edition) — same logic, new two-column layout.
Split-screen layout — Window is now 900×560 (landscape) instead of 560×880 (portrait).
| LEFT column | RIGHT column |
|---|---|
| Dice notation input | Roll distribution histogram |
| Quick die buttons (d4–d20) | Roll history list |
| Presets | Reset / Clear controls |
| Dice display + animation | |
| Roll button | |
| Statistics (Rolls, High, Low, Avg) |
Everything fits on one screen — no scrolling needed.
- Python 3.8+
- Tkinter (included with Python on Windows/macOS; Linux:
sudo apt install python3-tk)
python dice_simulator_v3.py| Feature | Details |
|---|---|
| Dice notation | NdX or NdX±M · d4 d6 d8 d10 d12 d20 |
| Quick buttons | One-click d4–d20 |
| Presets | Save named roll configs |
| Animation | 12-frame shuffle before result |
| Confetti | Triggers on doubles or all-max rolls |
| Statistics | Rolls, highest, lowest, average |
| Histogram | Live distribution of all roll totals |
| History | Last 20 rolls with full breakdown |
| Theme | Dark / Light toggle |
| Dice color | Custom color picker |
| Sound | Toggleable bell feedback |
| Persistence | Settings & history saved on exit |
| Export | Save history to .txt |
| Shortcut | Space to roll (when not typing) |