29 lines
828 B
Markdown
29 lines
828 B
Markdown
# 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) |
|