PAU.OS/ 01
All projects

INTERACTIVE WEB / ALGORITHMS

CAMÍ CURT

Find the connection. Discover the territory.

ReactD3TopoJSONGraph algorithmsSupabase
CAMÍ CURT actual application interface
Actual public Camí Curt application · captured without signing in.
Catalonia: a route from Montsià to Alt Empordà41 REGIONS · SHARED-BOUNDARY GRAPH
A little geography. A little graph theory.

Every border is a connection.

Choose two comarques to find a route with the fewest border crossings. Each step must share a boundary with the next region.

8 border crossings

Montsià → Baix Ebre → Baix Camp → Alt Camp → Anoia → Bages → Osona → Garrotxa → Alt Empordà

An isolated explorer using Camí Curt’s map dataset. The full game adds its own levels and route rules.
Map source: Camí Curt map dataset · GeoJSON-Mapas (2014 snapshot) ↗

01 / THE PROBLEM

A small route. A surprisingly deep problem.

A map can teach much more than names. The challenge is to make geographic relationships tangible, playful and worth returning to.

02 / THE APPROACH

How the system fits together.

Players connect two Catalan comarques through adjacent territories, with rules requiring or forbidding particular regions. Dijkstra enumerates optimal routes; A* provides a complementary length check. The SVG map makes the graph visible and gives feedback on every move.

01

Comarca geometry → TopoJSON + D3

02

Adjacency graph → Dijkstra + rule validation

03

Web Worker → shortest-path cache

04

React → interactive SVG map

05

Supabase → shared daily calendar

03 / ENGINEERING DECISIONS

Turn a graph into something intuitive

Geometric territories act as selectable graph nodes. Route feedback connects the player’s choices with an optimal path.

Make a daily challenge dependable

A shared daily calendar has a local generation fallback. A Web Worker precomputes route caches while the main thread keeps the map responsive. Normal, time-trial and exploration modes complement the daily challenge.

CURRENT SCOPE

Live application. The installation uses the game’s 41-region geographic dataset. That dataset is not presented as a claim of current administrative completeness. Portfolio interactions stay local and do not access player sessions.

NEXT PROJECT

ATHRA

Explore next project