e84aa3020222c65a69fb5726a939f86e7dea33e8
- Decrease `GameMap` update interval from 10 ms to 1 ms and lower `update_threshold` to 1 for more responsive state syncing. - Remove unused `random` import. - Adjust safe‑zone detection to offset player position based on team side. - Restrict enemy marking to opponent side, preventing incorrect obstacle placement. - Update edge generation logic to correctly handle safe‑zone and opponent cells. - Add `closest` and `closest_in_range` helper methods that compute nearest positions while respecting team side boundaries. - Introduce global `my_side_is_left` handling within `Map.update` for side‑dependent calculations. These changes improve map accuracy, AI pathfinding, and overall game performance.
zhichun-project
Languages
JavaScript
95.9%
Jupyter Notebook
2.7%
Python
1.4%