A professional, high-performance combat tracker for Tabletop RPGs.
- Entity Management:
- Heroes: Create and persist hero characters between encounters.
- Monsters: Quickly spawn monsters for a specific encounter.
- Initiative Management:
- Automatic Sorting: Entities are sorted by initiative score immediately.
- Auto-Roll: Automatically roll initiative for all monsters or selected groups.
- Tie Breakers: Explicit tie-breaker values ensure deterministic ordering without manipulating the raw initiative score.
- Combat Tracking:
- Health Tracking: Input math expressions (e.g.,
-5+2) for rapid damage/healing calculation. - Status Effects: Track conditions and durations.
- History Stack: Undo/Redo support for round and turn transitions to correct mistakes without data loss.
- Health Tracking: Input math expressions (e.g.,
- System:
- Local Persistence: State is saved to
localStorageimmediately upon change. - Evaluation: Inputs support complex mathematical expressions.
- Local Persistence: State is saved to
- Language: TypeScript (Strict)
- State: React + MobX Lite
- Build: esbuild
- Test: Vitest
- Clone the repository and navigate to the directory.
- Install dependencies:
npm install
- Configure environment:
cp .env.example .env
npm run dev- Start development server.npm run build- Production build.npm test- Run test suite.npm run lint- Run linter.
See AGENTS.md for architectural guidelines.
- Strict Typing: Required.
- No Singletons: Use Dependency Injection.
- Coverage: Maintain >90% test coverage.
ISC License.