ydy0615 2593d31346 feat(ctf): add backend policy module with pathfinding logic
Introduce a new `CTF/backend/mypolicy` Python module that implements a comprehensive game policy for the capture‑the‑flag bot. The file defines a global world model, thread‑safe state handling, and a `Map` class that builds a grid representation of the game map, generates traversable edges, and provides BFS‑based `guideance` and `length` methods for pathfinding and distance calculation. This policy enables the bot to make informed movement decisions based on safe zones, walls, allies, and enemies. Additionally, macOS `.DS_Store` placeholder files were added to the repository.
2025-12-27 20:54:40 +08:00
2025-12-27 07:24:28 +00:00
2025-12-27 07:24:28 +00:00
Description
No description provided
Readme MIT 2.7 MiB
Languages
JavaScript 95.9%
Jupyter Notebook 2.7%
Python 1.4%