No description
Parser changes:
- Track num_players_expected from user input after 'How many players?'
- Create placeholder players ('Player N') on 'say me please' prompts
- Replace placeholder names when real names appear in roll lines
- Emit state during setup phase (was returning None)
- Include phase and numPlayersExpected in state JSON
UI changes:
- Empty slots shown as dashed/dimmed panels with '?' token
- Placeholder players shown as 'Registering...'
- Registered players shown with checkmark and ,500
- Status bar shows 'Setting up · 2/3 players registered'
|
||
|---|---|---|
| __pycache__ | ||
| docs | ||
| plugins | ||
| reference | ||
| site | ||
| test_data | ||
| irc_client.py | ||
| monop_bridge.py | ||
| monop_parser.py | ||
| monop_players.py | ||
| README.md | ||
| run_game.py | ||
| test_integration.py | ||
| test_parser.py | ||
| test_players.py | ||
monop-board Static Site
Visual Monopoly board viewer that reads game-state.json and displays the board.
Usage
# Serve from the site directory (game-state.json should be in this dir or parent)
cd site/
python3 -m http.server 8080
Then open http://localhost:8080 in your browser.
Features
- Classic Monopoly board layout
- Player tokens with colors and initials
- Property ownership indicators
- Houses (green) and hotels (red)
- Color-coded property groups
- Player info panels with money, properties, cards
- Game log with recent events
- Auto-refreshes every 2 seconds
- Demo mode when no live game is running
- Mobile-responsive dark theme