← All projects

Vital Fantasy

A mobile RPG where your real steps, training and sleep build your hero, and your hero fights the bosses for you. Coming to iPhone.

  • TypeScript
  • Expo
  • React Native
  • HealthKit
  • Health Connect
  • AWS Lambda
  • Postgres
  • CDK
  • Skia

Your body is the controller. Vital Fantasy reads the health data your phone and wearables already collect and turns it into a fantasy RPG. Steps earn the currency you spend on gear. Time in your heart rate zones and your workouts make your hero stronger. Last night’s sleep sets the Shell your hero carries into every fight today. Mindful minutes, resting heart rate and heart rate variability shape your condition. Then your hero walks into the dungeon and fights the boss while you get on with your day.

There is no tapping, no energy timer and no daily fight limit. The only way to get stronger is to move, train and sleep. A bad week does not wipe you out: streaks forgive one miss a week and pause when your data shows you are ill or you declare a rest day.

What counts

YouYour hero
stepsthe currency that buys packs of gear
minutes in your heart rate zones, workoutsexperience and Attack
a night of sleep, naps includedthe Shell every fight starts with; seven hours fills it
fourteen days of effortthe Charge, a burst that fires once a fight
resting heart rate and HRV against your usualcondition: Rested, Steady or Worn
mindful minutes, daylight, floors climbedcharms that each add a little

Levers you control are rewarded. Outcomes like weight or resting heart rate are shown, never scored. Nothing in the game is medical advice, and the app does not diagnose or treat anything.

How it is built

The game rules are a pure TypeScript package with no I/O, so every rule is a unit test. Fights are resolved entirely on the server; the phone renders a game state document and never computes experience, loot or quest completion itself. Every event and daily roll-up carries the version of the rules and the metric catalog that produced it, so a balance change never rewrites history.

Health data arrives through Apple HealthKit and Android Health Connect in one canonical sample shape. Adding a metric is a catalog entry, not a migration. Every sample is kept for a stated rolling window, duplicates from overlapping sources (a watch and a ring reporting the same night) are reconciled at roll-up time and logged, never silently dropped, and every number in the game can show you which readings it came from.

The backend is Hono on AWS Lambda in front of Postgres, deployed with CDK. The database has no public endpoint, the Lambdas that touch it have no internet access, and identity lives in its own database behind a pseudonymous user id, so health rows never sit next to a name or an email. No health value is ever written to a log, a crash report or an analytics event, and there are no analytics SDKs at all. Players can export everything and delete everything from inside the app.

Status

In TestFlight, launching on iPhone in the United States first. Android is built on the same codebase and follows. Published by Auvul Co.

More projects