Willem van den Ende f6605bbbfd feat: implement story 3 (Factions) with Allium spec and fast-check properties
- Add .pi/specs/story-3-factions.allium with formal spec for faction rules
- Add src/factions.spec.ts with 26 fast-check properties covering:
  - joinFaction / leaveFaction (add, remove, idempotent, dead no-op)
  - isAllyOf (shared factions, symmetry, self-not-ally)
  - dealDamage blocks ally damage
  - healAlly (allies only, capped, dead no-op)
- Implement Character methods: joinFaction, leaveFaction, isAllyOf, healAlly
- Modify dealDamage to check ally status before applying damage
2026-06-13 22:36:43 +01:00
2026-06-03 08:41:06 +00:00
2026-06-12 22:08:36 +01:00
2026-06-03 08:41:06 +00:00
2026-06-03 08:41:06 +00:00
2026-06-03 08:41:06 +00:00
2026-06-03 08:41:06 +00:00
2026-06-03 08:41:06 +00:00
2026-06-03 08:41:06 +00:00

RPG Combat

Use this starting template for your implementation of the game rules. Requires Node.js and npm. Install dependencies, then run the tests:

npm install
npm test
Description
run through pi coding kata
Readme 4 MiB
Languages
HTML 99.4%
TypeScript 0.5%