Evanopolis is a multiplayer board game about property ownership and Bitcoin mining.
This monorepo is the public consolidation target for the final deliverable: the gameplay server, browser wrapper, game clients, deployment assets, and the docs needed to hand the project over cleanly.
The private auth service is intentionally not implemented here. By client
requirement, it remains in the separate sibling repository
../tabletop-auth and is treated in this repo as an external dependency.
- What This Repo Delivers
- High-Level Architecture
- Repository Map
- Start Here
- Deploying The Final Stack
- Published Artifacts
- Related Repositories
The final deliverable is centered on a few core pieces:
- an authoritative headless game server that owns match rules and live state
- a browser wrapper for sign-in, room creation, invitation handling, and launch
- a standalone rooms API for room-definition creation and lookup
- a final graphical client adapted from the approved offline UI slice
- deployment assets and runbooks for staging and final hosting
At a high level, the stack is:
auth-server: private external service for wallet sign-in, JWT issuance, and payment/auth verificationrooms-api: public REST service for creating room definitions and looking them up bygame_idgame-server: authoritative Godot headless runtime for live matches and gameplay RPCweb-wrapper: browser shell for creating rooms, opening invite links, and launching the clientgraphical-client: player-facing client that consumes authoritative multiplayer events
flowchart LR
Player[Player]
Wallet[Wallet]
subgraph Public["Public Deliverable"]
Wrapper[web-wrapper]
Rooms[rooms-api]
Game[game-server]
Client[graphical-client]
end
subgraph Private["Private Dependency"]
Auth[auth-server / tabletop-auth]
end
Player --> Wrapper
Wrapper --> Wallet
Wrapper -->|create room / open invite| Rooms
Wrapper -->|launch game with game_id| Client
Client -->|WebSocket gameplay RPC| Game
Wrapper -->|sign-in flow| Auth
Rooms -->|verify JWT for POST /v0/rooms| Auth
Client -->|JWT handoff| Game
Game -->|verify JWT| Auth
Game -->|load room definition by game_id| Rooms
The current intended flow is:
- a player signs in through the auth flow
- the wrapper calls
rooms-apito create a room and gets back a UUIDgame_id - invitees open a wrapper URL carrying that
game_id - clients connect to the game server over WebSocket RPC
- the game server verifies auth, loads the room definition, and lazily creates the live in-memory match on first valid join
- apps/auth-server/ Public integration stub for the private auth service.
- apps/rooms-api/ Canonical REST surface for room creation and room-definition lookup.
- apps/game-server/ Authoritative multiplayer server, rules engine, and current deployable core.
- apps/web-wrapper/ Browser shell around room creation, invitations, and launch flow.
- apps/graphical-client/ Final player-facing client target.
- TODO.md Active delivery source of truth for launch blockers, sequencing, and parking lot items.
- deploy/ Deployment assets, Dockerfiles, and staging/cloud notes.
- docs/migration/
Historical migration context. Active delivery planning now lives in
TODO.md. - tests/ Cross-app integration and environment validation assets.
If you are new to the codebase, this reading order should get you productive quickly:
- Read this README for the product and repo overview.
- Read TODO.md for the active delivery sequence and current launch blockers.
- Read Game Server README for the current runnable core of the stack.
- Read Rooms API README and Rooms API Contract for the current room creation direction.
- Read Web Wrapper README for the browser flow responsibilities.
- Read Game Server Rooms API Integration and Game Server RPC Contract for the current server-side contracts.
- Read Deploy README for local and staging deployment context.
- Read Local Stack Runbook for the current terminal-by-terminal development path against the sibling private auth repo.
- Use Server-First Migration Roadmap only as historical context, not as the active backlog.
This README is only the welcome page. It does not try to be the full cloud runbook.
For a final AWS-hosted version, the deployment will need at least:
- a public host for
web-wrapper - a public host for
rooms-api - a public host for
game-serverWebSocket traffic - connectivity from
game-serverandrooms-apito the private auth service - runtime configuration for auth base URLs, JWT verification expectations, and any rooms-api persistence backend
- a persistence choice for room definitions so invite links survive service restarts
- TLS, DNS, and environment/secret management for all public endpoints
- operator-facing smoke checks and staging validation before production rollout
Today, the checked-in Fly.io staging paths cover:
As the AWS path is defined, the detailed bootstrap and operations material
should live under deploy/ rather than being expanded inline here.
The headless game server image is published automatically on pushes to main:
ghcr.io/falafel-open-games/evanopolis-game-server:latestdocker.io/fczuardi/evanopolis-game-server:latest
The rooms API and web wrapper image publishing workflows are also checked in:
ghcr.io/falafel-open-games/evanopolis-rooms-api:latestdocker.io/fczuardi/evanopolis-rooms-api:latestghcr.io/falafel-open-games/evanopolis-web-wrapper:latestdocker.io/fczuardi/evanopolis-web-wrapper:latest
See apps/game-server/README.md and deploy/README.md for current run and staging details.
- private auth source:
../tabletop-auth - game server migration source:
../evanopolis-ui-slice/godot2 - approved offline UI/client source:
../evanopolis-ui-slice/godot