Hi there! I'm OpalBolt, and I'm building something fun here!
I'm working on an interactive GitHub experience that will let you play the classic 10,000 dice game directly through GitHub Issues!
This will be an always-running implementation of the classic 10,000 dice game that lets players interact through GitHub Issues. The game state will be persisted in JSON files and displayed live in this README.
| Command | Example | Description |
|---|---|---|
-keep |
-keep 1 5 1 |
Keep these dice and end the round |
-roll |
-roll 1 5 1 |
Keep these dice and roll again |
-help |
-help |
Display game rules and close the issue |
๐ฒ Current Dice: Loading...
โ Possible dice kept this turn: None
๐ฏ Round Score: 0 | Game Score: 0
๐ฎ Player: No previous turns yet
๐ฒ Dice Rolled: None
๐ฏ Dice Kept: None
๐ Score Earned: 0
- Single 1: 100 points
- Single 5: 50 points
- Three 1s: 1000 points
- Three of a kind (2-6): number ร 100 points
- Four or more of a kind: doubles for each extra die
- Straight (1-2-3-4-5-6): 1500 points
- Three pairs: 1000 points
Note: You must score at least 800 points in a single turn to get "on the board"
- Visit this README page when the game is active
- Comment on this repository with your move (
-rollor-keepfollowed by dice values) - The GitHub Action will process your move and update the game state
- The README will update to show the current game status
- Player with the highest score above 10,000 wins!
This game is built using:
- Python with Pydantic for data models
- GitHub Actions for automation (coming soon)
- JSON files for state persistence
- Markdown for dynamic display
src/
โโโ game.py # Main game controller
โโโ game_logic.py # Core dice & scoring logic
โโโ models.py # Data models
โโโ player_logic.py # Player interaction
โโโ oponent_logic.py # Computer player logic
Made with โค๏ธ by OpalBolt

