No description
Parser: detect name registration from user input during setup (sender == name constraint prevents false matches on gameplay messages). Bridge: extract _process_buffer() to handle leftover lines after _wait_for_players returns, preventing messages from being stuck. Player bots: proactively send name on join (not just first player sending count) so they respond even if they missed the 'say me' prompt. All tests pass (1551/1553 parser checkpoints, 38 player unit tests). |
||
|---|---|---|
| __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