AStar
AStar copied to clipboard
arr.splice instead of this.removeFromArray
I know this is old. But I've recently watched the YouTube video, and realized that you can just use the winner
(since this is already the index) to splice from the openSet
.
Note: I've attempted this locally in my own project.