Skip to content

ShowcasedPath twoGames & creative

CHRONOS-HEIST

A browser mystery game where actions taken in a 1920 vault change the same room in 1970 and 2026.

by Shreyansh Agrahari

What it does

A player hides a key in 1920, and the 2026 vault opens.

Players explore one vault room in three eras through a 3D browser view, solving small puzzles such as a rotary safe and an oscilloscope tuner. Hiding an object in the past changes what appears in later eras without a page reload.

A game master view shows each action's estimated impact and lets a person approve sealing the timeline. A force-directed graph shows how objects in different eras depend on one another.

The problem

Game state that lives in the browser cannot carry cause and effect across eras.

Time-travel puzzles depend on a change in one period showing up correctly in others. Holding rooms and objects as local component state or fixed tables makes those cross-era links hard to define, inspect or update while players are in a session. The builder wanted the world and its causal rules stored as shared, editable content so every connected view updates the moment the past changes.

What they built

Rooms, objects and causal links modelled as content across three eras.

3 eras, 3 rooms, 10 schema types.

  • era

    One time period: 1920, 1970 or 2026.

  • room

    A room in one era, with linked rooms, hidden compartments and spatial coordinates.

  • gameObject

    An interactable object, flagged when it affects causality.

  • temporalAction

    One player action committed in a given era.

  • causalityLink

    A dependency from a past object to a later object or room, with change type and probability.

  • workflowTransition

    A step in the five-stage review flow that ends with a sealed timeline.

The stack

Live queries push past changes into a 3D scene.

  • Content Lake
  • Sanity Studio
  • next-sanity/live
  • Next.js 16
  • Turbopack
  • Three.js
  • D3.js
  • Web Audio API
  • TypeScript
  • Tailwind CSS
  • Vercel
  • Google Antigravity

The hard part

Each player action is a document, and causal links decide what changes downstream.

When a player acts, a server action commits a temporalAction document. A server-side engine reads the causalityLink documents to work out which later objects or rooms change, then patches them.

Live queries broadcast those patches, so the 3D scene for 1970 and 2026 re-renders hidden compartments without a refresh. Because the rules are content, they can be viewed and edited in Studio, including in a custom graph tool.

Play the vault ↗

More from path two

See the full showcase