mantimon-tcg/backend/app/core
Cal Corum 5f1eb11344 Add test coverage for validation and confusion, document effect knockout handling
Issue #2 gap: Added 14 CardDefinition validation tests covering all
required field checks (hp, stage, pokemon_type, evolves_from, trainer_type,
energy_type) with both negative and positive test cases.

Issue #7 gap: Added 4 confusion attack engine tests covering heads/tails
outcomes, self-damage, self-KO with opponent scoring, and configurable
damage from RulesConfig.

Issue #13 documentation: Added TODO comments in engine.py and handlers.py
documenting the expected pattern for knockout detection when effect
execution is implemented. Effect handlers set knockout flags; engine
should process knockouts after all effects resolve.

825 tests passing (+17 new tests)
2026-01-26 14:16:15 -06:00
..
effects Add test coverage for validation and confusion, document effect knockout handling 2026-01-26 14:16:15 -06:00
models Track stadium ownership for correct discard (Issue #12) 2026-01-26 11:38:38 -06:00
__init__.py Add game engine foundation: enums, config, and RNG modules 2026-01-24 22:14:45 -06:00
config.py Add rules validator, win conditions checker, and coverage gap tests 2026-01-25 12:57:06 -06:00
engine.py Add test coverage for validation and confusion, document effect knockout handling 2026-01-26 14:16:15 -06:00
rng.py Add game engine foundation: enums, config, and RNG modules 2026-01-24 22:14:45 -06:00
rules_validator.py Add forced action queue for double knockouts (Issue #10) 2026-01-26 11:33:47 -06:00
turn_manager.py Add forced action queue for double knockouts (Issue #10) 2026-01-26 11:33:47 -06:00
visibility.py Track stadium ownership for correct discard (Issue #12) 2026-01-26 11:38:38 -06:00
win_conditions.py Add SelectPrizeAction executor and turn limit check (Issues #11, #15) 2026-01-26 11:04:03 -06:00