boardgame-core/tests
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
..
core fix: more tests 2026-04-07 15:13:10 +08:00
samples refactor(slay-the-spire-like): use IRunContext in combat system 2026-04-20 11:25:52 +08:00
utils chore: tests for effects and middleware 2026-04-17 13:48:18 +08:00