No description
Find a file
Jarvis 34a4f47402 Add zero state, disconnected overlay, game over confetti, and debug panel
- Zero state: bouncing dice + message when no game exists
- Disconnected: greyed overlay after 3 consecutive fetch failures,
  with retry countdown
- Game over: gold banner with winner name + confetti animation,
  detected from log ('WINS!') or single remaining player
- Debug panel: Ctrl+Shift+D toggles hidden panel with buttons to
  test all four states (zero, playing, gameover, disconnected, reset)
- Also fixed player panel to use p.number for current-turn matching
  and property ownership display
2026-02-21 11:08:06 +00:00
__pycache__ Emit players in turn order, not registration order 2026-02-21 11:02:22 +00:00
docs Add ARCHITECTURE.md developer guide 2026-02-21 10:20:01 +00:00
plugins Emit players in turn order, not registration order 2026-02-21 11:02:22 +00:00
reference Re-add test data and reference files after reboot 2026-02-21 02:37:37 +00:00
site Add zero state, disconnected overlay, game over confetti, and debug panel 2026-02-21 11:08:06 +00:00
test_data Add autopilot test logs (2162 lines, successful 2-player game) 2026-02-21 09:39:17 +00:00
irc_client.py Re-add test data and reference files after reboot 2026-02-21 02:37:37 +00:00
monop_bridge.py Re-add test data and reference files after reboot 2026-02-21 02:37:37 +00:00
monop_parser.py Emit players in turn order, not registration order 2026-02-21 11:02:22 +00:00
monop_players.py Fix trade race condition: move trade/roll decision to -- Command: handler 2026-02-21 10:55:33 +00:00
README.md Initial: monop-board site files 2026-02-21 01:35:37 +00:00
run_game.py Fix trade logic in player bots 2026-02-21 10:42:57 +00:00
test_integration.py Add integration test - parser matches monop state perfectly (7/7 checks pass) 2026-02-21 03:50:08 +00:00
test_parser.py Add monop parser and test suite - 1551/1553 checkpoints pass 2026-02-21 03:10:53 +00:00
test_players.py Fix trade race condition: move trade/roll decision to -- Command: handler 2026-02-21 10:55:33 +00:00

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