Imported from KonstantinSerednik/rpg-battle (
.roo/rules-ask/AGENTS.md). Install upstream withnpx skills add KonstantinSerednik/rpg-battle --skill rules-ask. Copyright stays with the author.
Project Documentation Rules (Non-Obvious Only)
- The UI is entirely in Russian; documentation should note that translations are not required.
- The
Attackinterface'sdamagefield: positive = damage, negative = healing. - Game flow: strict stage order; PvC mode skips manual attack selection for P2.
- Victory triggers a page reload, not a state reset.
- Styling: dark theme is enforced; light theme variables exist but are unused.
- The project uses Vite + React 19 with TypeScript;
verbatimModuleSyntaxis enabled. - Dependencies
lucide-reactandrechartsare installed but unused (reserved). - Testing: no test suite; manual testing required.
- Known artifact: extra
//comment insrc/App.tsxline 193. - The
#rootwidth is capped at 1126px; responsive design uses media queries inindex.css.