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:
BIN
CTF/backend/__pycache__/server.cpython-312.pyc
Normal file
BIN
CTF/backend/__pycache__/server.cpython-312.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user