T007–T011: implement AdvanceTurn domain logic (pure function, events, invariants, 8 acceptance tests)

This commit is contained in:
Lukas
2026-03-03 13:01:08 +01:00
parent 7dd4abb12a
commit 42a07a07ff
6 changed files with 402 additions and 6 deletions

View File

@@ -1 +1,16 @@
export {};
export { advanceTurn } from "./advance-turn.js";
export type {
DomainEvent,
RoundAdvanced,
TurnAdvanced,
} from "./events.js";
export {
type Combatant,
type CombatantId,
combatantId,
createEncounter,
type DomainError,
type Encounter,
isDomainError,
} from "./types.js";