Files
zhichun-project/CTF/backend
ydy0615 99ab005021 feat(ctf): increase map update frequency and enhance path planning
- Reduce `show_gap_in_msec` from 10 ms to 1 ms and `update_threshold` from 10 to 1 for faster game state updates.
- Use `global my_side_is_left` in `Map.update` and adjust safe‑zone calculation with a one‑cell offset, fixing zone detection.
- Correct edge generation logic to properly handle safe and unsafe zones.
- Add tracking of enemy players without flags (`pretend_list`) and own flags (`protect_list`) to broaden target options.
- Implement fallback destination selection: prioritize enemy flags, then enemy players, then own flags.
- Clean up stray debug prints and minor formatting issues.
2025-12-27 23:30:22 +08:00
..
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00
2025-12-27 15:59:21 +08:00