boardgame-core/tests/samples/slay-the-spire-like
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
..
combat refactor(slay-the-spire-like): use IRunContext in combat system 2026-04-20 11:25:52 +08:00
data refactor: use English IDs for desert card effects 2026-04-20 00:23:41 +08:00
deck chore: non-combat tests update 2026-04-17 12:58:29 +08:00
map test: expand slay-the-spire-like map generator tests 2026-04-20 00:00:41 +08:00
utils chore: non-combat tests update 2026-04-17 12:58:29 +08:00
grid-inventory.test.ts chore: non-combat tests update 2026-04-17 12:58:29 +08:00