It looks like we change the game rules around movement when we fix the final bug in the Unit Move with Pathfinding lesson:
Before this change, units are allowed to move 4 spaces in any direction:
(note that the above actually does show one incorrect square, where I’ve drawn the red arrow. It isn’t possible to reach this square via any legal sequence of moves totaling 4)
After this change (shown ~12:35) we’ve fixed units being able to walk far beyond what their costs should allow, but we’ve also made a change to our game rules!
If we contrast the diagonal movement between the before and after pictures, we see that the allowed diagonal moves change from 4 to 2. The squares from the Before are actually correct (per our original game rules) provided we don’t have the pillar directly in front of the Unit. This is because we’ve changed our game logic to count diagonals as 1.4 (1.4 * 3 is 4.2 which exceeds our allowed movement cost).
After this change, our costs seem to now be based on rules which fall out of the A* pathfinding algorithm costs, rather than a pure tiles-moved cost as we had before. Totally fine if we want to have this ruleset instead, but it threw me for a loop as this game rules change isn’t explicitly called out anywhere.