How schoolweiqi/go-interfaces works
Go Interfaces is a browser-based Go application centered on OGS automatch, with a local rules-aware board and optional bot, network-room, and collaborative-review modes. The principal workflow is player → OGS authentication and matchmaking → opponent found → official OGS game screen; the README says local-board synchronization is not yet complete. The graph also preserves local play, analysis visuals, game variations, and SGF capabilities represented by core modules. Connections are limited to shown calls or README statements; unsampled module relationships are omitted.
Main entry points: ui.js UI controller · ogs.js OGS client · index.js Room service · gnugo-worker.js Engine worker
Components 17
OGS matchmaking
- OGS client
ogs.js
Board and play
- UI controller
ui.js - Go rules and state
game.js - Board rendering
board.js - GNU Go engine
gnugo.js - Engine worker
gnugo-worker.js - Variation tree
tree.js - SGF handling
sgf.js
Analysis tools
- Group faces and links
faces.js - Influence visualization
influence.js
Shared games
- Room orchestration
app.js - Collaborative review
review.js - Room service
cloudflare-worker/src/index.js - Durable room state
cloudflare-worker/src/index.js
Other components
- Player
- OGS
- Official game screen
Connections 17
- Player → OGS client: authenticates and matches
README.txt - OGS client → OGS: requests OAuth and matchmaking
ogs.js - OGS client → Official game screen: redirects after match
README.txt - Player → UI controller: uses local board
README.txt - UI controller → Go rules and state: plays and restores moves
ui.js - UI controller → Variation tree: navigates variations
ui.js - UI controller → Engine worker: requests bot moves
ui.js - Engine worker → GNU Go engine: calls WebAssembly engine
gnugo-worker.js - UI controller → SGF handling: exports game records
- Player → Group faces and links: enables group visuals
- Player → Influence visualization: enables influence view
- Player → Room orchestration: creates or joins room
app.js - Room orchestration → Room service: sends room requests and WebSocket
app.js - Room service → Durable room state: reads and writes state
cloudflare-worker/src/index.js - Player → Collaborative review: creates or joins review
review.js - Collaborative review → Room service: sends review requests and WebSocket
review.js - Board rendering → Go rules and state: renders board state