No description
Bridge changes: - Wait for at least one user to JOIN before starting monop - Ensures observer is in channel to see all setup messages Parser changes: - Handle 'Player N, say me' even without prior 'How many players?' - Infer num_players_expected from highest player number seen - Emit state during setup phase run_game.py changes: - 3s stagger between bot joins so setup is visible in web UI - Observer connects before bots to catch all registration messages |
||
|---|---|---|
| __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