feat: enhance AI planning logic and add unit tests for Map class

- Modified plan_next_actions in server.py to remove selected positions from regard_list, preventing reuse in subsequent planning steps for better AI decision-making
- Added comprehensive unit tests in test_map.py for enemy_to_walls and choose_enemy functions to ensure correct behavior and distance calculations in the game map
This commit is contained in:
2025-12-28 12:32:53 +08:00
parent 5e76bb2452
commit 033979c663
3 changed files with 66 additions and 0 deletions

Binary file not shown.