Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update helpers.py is_intersect: manhattan dist
Now is_intersect returns True if difference in any axis (x or y) between players less than width. Thiat results to issue with double death in case when they pathes are perpendicular and both players start and end points (elementar cells, grid crosses) are valid. Replacing condition to comparing width with manhattan dist makes this issue fixed.
- Loading branch information