PowerRolls is an Angular application for simulating 3d dice rolls for the Draw Steel RPG.
- 3D Dice Simulation: Realistic dice rolling using the
@3d-dice/dice-boxlibrary. - Mechanics: Supports characteristic selection, roll modifiers, and roll history.
- Theming: Light/dark mode toggle, with user preferences and roll history persisted in
sessionStorage. - No Backend: All logic is client-side; no API or server required.
Start the local dev server:
ng serveVisit http://localhost:4200/ in your browser. The app reloads automatically on code changes.
To build the project:
ng build -c productionBuild artifacts are output to the dist/ directory.
To run unit tests with Karma:
ng test- Main logic:
src/app/app.component.ts(signals, forms, DiceBox integration) - Components:
src/app/components/ - 3D assets & themes:
public/assets/themes/ - State: Managed with Angular signals, persisted in
sessionStorage - Theming:
<html data-theme>and theme assets
For more, see the copilot-instructions.md and code comments in app.component.ts.