[P5] Scholar counter-symbol mapping uses fragile hardcoded rock-paper-scissors logic #25

Closed
opened 2026-05-31 01:59:54 +00:00 by Mark · 0 comments
Owner

Fixed: Replaced fragile switch statement with COUNTER_SYMBOL_MAP data-driven lookup in src/engine/aiPersonalities.ts. New symbols only need to be added to the map, not a switch.

Fixed: Replaced fragile switch statement with COUNTER_SYMBOL_MAP data-driven lookup in `src/engine/aiPersonalities.ts`. New symbols only need to be added to the map, not a switch.
Mark closed this issue 2026-06-11 02:41:18 +00:00
Sign in to join this conversation.
No description provided.