No description
test_integration_bugs.py: single-game flow covering: - Bug #1: Trade property transfer (Reading RR bob→charlie) - Bug #5: Resign-to-bank clears properties (bob's B&O unowned) - Bug #6: Resign-to-player transfers properties (alice's Baltic→charlie) - Bug #7: Property owner renumbering after resign - Bug #9: phase field always emitted (playing/over) - Bug #10: Trade/resign log timestamps - Bug #11: House counts from rent lines - House sub-parser: buy 9 houses on lightblue - Holdings display resync - GOJF card command - Mortgage/unmortgage tracking - State JSON structure validation All 1551 checkpoints + 100 unit tests passing. |
||
|---|---|---|
| __pycache__ | ||
| docs | ||
| plugins | ||
| reference | ||
| site | ||
| test_data | ||
| house_parser.py | ||
| irc_client.py | ||
| monop_bridge.py | ||
| monop_parser.py | ||
| monop_players.py | ||
| README.md | ||
| run_game.py | ||
| test_house_parser.py | ||
| test_integration.py | ||
| test_integration_bugs.py | ||
| test_parser.py | ||
| test_parser_bugs.py | ||
| test_parser_commands.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