T012–T016: Phase 3 application + web shell (use case, ports, React hook, UI, README)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-03 13:11:33 +01:00
parent 42a07a07ff
commit 4c2e0a47e6
7 changed files with 150 additions and 7 deletions

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
# Initiative Tracker
A turn-based initiative tracker for tabletop RPG encounters. Click "Next Turn" to cycle through combatants and advance rounds.
## Prerequisites
- Node.js 22
- pnpm 10.6+
## Getting Started
```sh
pnpm install
pnpm --filter web dev
```
Open the URL printed in your terminal (typically `http://localhost:5173`).
The app starts with a 3-combatant demo encounter (Aria, Brak, Cael). Click **Next Turn** to advance through the initiative order. When the last combatant finishes their turn, the round number increments and the cycle restarts.
## Scripts
| Command | Description |
|---------|-------------|
| `pnpm --filter web dev` | Start the dev server |
| `pnpm --filter web build` | Production build |
| `pnpm test` | Run all tests |
| `pnpm check` | Full merge gate (format, lint, typecheck, test) |