No description
Bug fixes: - #1: Trade now transfers properties (parse printsq-format lines in trade summaries) - #2: UI owner indicator uses player number lookup instead of raw array index - #3: Mid-stream game pickup sets _first_player_idx - #4: Resign with unresolved target clears properties (bank fallback) - #6: spec flag cleared after rent payment (matches C's get_card cleanup) - #13: get_state() always emits phase field (setup/playing/over) - #16: Resign and trade log entries include timestamps Also: - Bankrupt players tracked with bankrupt flag, shown in UI with skull/dashed border - 19 resignation tests (test_parser_resign.py) - 10 bug-specific tests (test_parser_bugs.py) - All 1551 parser checkpoints + 67 unit tests passing |
||
|---|---|---|
| __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_parser_bugs.py | ||
| test_parser_resign.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