boardgame-core/tests/samples
hypercross 5e172c61bb refactor(slay-the-spire-like): use IRunContext in combat system
Update the combat system to use `IRunContext` instead of passing
raw inventory objects. This provides a cleaner abstraction for
accessing item data and managing consumed uses.

- Update `canPlayCard` and `payCardCost` to use `IRunContext`
- Pass `IRunContext` through the trigger registration chain
- Fix logic in `canPlayCard` for "uses" cost validation
- Update combat effect tests to use a mock `IRunContext`
2026-04-20 11:25:52 +08:00
..
slay-the-spire-like refactor(slay-the-spire-like): use IRunContext in combat system 2026-04-20 11:25:52 +08:00
boop-utils.test.ts refactor: clean up boop implementation structure 2026-04-07 15:43:17 +08:00
boop.test.ts chore: add more tests 2026-04-06 16:11:26 +08:00
onitama.test.ts fix: onitama win con 2026-04-08 12:25:50 +08:00
regicide.test.ts feat: regicide full 2026-04-10 13:43:12 +08:00
tic-tac-toe.test.ts chore: add more tests 2026-04-06 16:11:26 +08:00