How to solve a maze using the A* algorithm with Phaser 3.

Article by Richard Davey. Posted on 3rd Sep 2018.   @phaser_


Emanuele Feronato writes: "During these days I am working on a project which requires A* algorithm for path finding, so I grabbed my 3 years old post “Pure JavaScript A* maze solving – with a bit of magic thanks to Phaser and EasyStar.js” and updated to the latest Phaser and EasyStar versions.

Here is a maze, solved by A* algorithm, going from the top left cell to the bottom right cell. Once a maze is solved, a new random maze is generated and solved again, and so on."

Read More