Rodri Companion
An app for a single player.
With the same engineering as the others.
Game companion for a Pathfinder 1e cleric: hit points, spells, resources, buffs and dice, installable as an app. Tablemates join as guests and see everything without being able to change it.
- My role
- My own project: design, development and deployment.
- Stack
- Astro 7
- Preact
- Nano Stores
- Drizzle
- PostgreSQL 18
- PWA
- Docker
Decisions that matter
Everything can be undone
Each action is a transaction with a row lock that records an event: mid-game, a mistake is reverted with one tap.
The rules are code
The sheet is static and typed, separate from the game state. Rules are pure functions with tests, and a script validates every link to the official rules.