Mdice is inspired by Kakegurui Twin. In this game, players face off a dealer in a strategic battle of dice rolls, however.. THE DEALER ALWAYS HAS THE UPPER HAND.
- 🎮 Optional loading screen: The
-nl
flag skips the loading screen. - 💰 Balance status: Persistent tracking across sessions.
- 🎯 Probability: The dealer picks second.
- Starting balance of ¥100 million.
- Each turn, the player:
- 💸 Places a bet in ¥ (
100k
,3M
,9B
). - Picks their dice before the dealer.
- 💸 Places a bet in ¥ (
- Both the player and dealer roll their dice.
- If the player's roll is higher, they ✅ double their bet; otherwise, they ❌ lose the bet amount.
- ⚫:
3, 3, 4, 4, 8, 8
- ⚪:
1, 1, 5, 5, 9, 9
- 🔴:
2, 2, 6, 6, 7, 7
- ⚫ > 🔴 (66.7%)
- ⚪ > ⚫ (66.7%)
- 🔴 > ⚪ (66.7%)
.
├── balance.json # balance track
├── kolo.py # utilities
└── mdice.py # game logic
- Python 3.8 or later
- Virtual environment (recommended)
-
Clone the repository:
git clone https://github.com/bxavaby/mdice.git cd mdice
-
Run the Game:
python mdice.py
This project is licensed under the MIT License. See the LICENSE file for details.