Coding Challenge 51.2: A* Pathfinding Algorithm – Part 2

In Part 2 of this A* Algorithm Coding Challenge, I focus on adding obstacles (walls) to the grid as well as functionality for moving diagonally.

Part 1:
Part 3:

Online demo:

To see the whole unedited version of this challenge:

Support this channel on Patreon:

Send me your questions and coding challenges!:


Links discussed in this video:
A* Algorithm on Wikipedia:*_search_algorithm
Artificial Intelligence: A Modern Approach:
My Maze Generation Coding Challenge:

Source Code for the all Video Lessons:


For More Coding Challenges:
For an Intro to Programming using p5.js:

Help us caption & translate this video!

📄 Code of Conduct:



Do NOT follow this link or you will be banned from the site!