mantimon-tcg/backend/app/core/effects
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
..
__init__.py Add game engine foundation: enums, config, and RNG modules 2026-01-24 22:14:45 -06:00
base.py Add effects system with configurable weakness/resistance 2026-01-25 00:25:38 -06:00
handlers.py Add test coverage for validation and confusion, document effect knockout handling 2026-01-26 14:16:15 -06:00
registry.py Add exception logging to effect registry (Issue #14) 2026-01-26 13:32:43 -06:00