No description
When 'with N houses, rent is X' or 'with a hotel, rent is X' is seen, update property_houses for the current player's location. This partially fixes stale house data in the UI — houses are synced when rent is charged, though not at the moment of purchase. |
||
|---|---|---|
| __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