Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store if head is obstructed for past moves and make use of it.
Also: * Rename the walkSpeed constant to WALK_SPEED (nuisance to mix up). * Alter conditions slightly in some places by using thisMove/lastMove.headObstructed. Issues remaining: * Moderate speed increase with yDist 0 and hDist like 0.35 -> 0.45. * Transitions head blocked -> not, can trigger hspeed violations.
- Loading branch information
Showing
2 changed files
with
96 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters