ecem.fyi
Back to projects
2026·Designer & Developer

Olympos — Graph Theory Game

A turn-based strategy game where you clear Odysseus's path home by manipulating a social network — real weighted Dijkstra and betweenness centrality under a UI a 7-year-old can play.

TypeScriptGraph TheorySVGNext.jsNetworkXFastAPI

The Odyssey modelled as Social Network Analysis: 21 mythological characters, 40 weighted relationships, and a Friction Score built from the weighted shortest path plus a betweenness-centrality penalty for every hostile broker. You persuade gods, put monsters to sleep and lobby new edges to drive that score to zero, while Poseidon answers each turn with storms that re-route the shortest path live. Designed and balanced against automated play-testers: a greedy AI provably loses on Hero difficulty, so the game rewards foresight — but on Easy, an in-game advisor simulates every legal move and tells the player exactly what to press, which is verified to win. Originally built as a Python/FastAPI/NetworkX service, then ported to TypeScript and verified value-for-value against that reference so it runs fully client-side with no backend.

Try it

Highlights