Angular 6 A* pathfinding implementation based on: http://theory.stanford.edu/~amitp/GameProgramming/AStarComparison.html
npm install
ng serve -o
Click on a cell to change its state. Click and drag to draw/clear blocked cells
- Define start
- Define target
- Optional: add blocked cells
- Press 'Find Path' to find the shortest path
- Empty - white
- Blocked - gray
- Start - green
- End - red
- Possible path - blue
- Press 'Clear Path' to clear path
- Press 'Reset Grid' to clear the whole grid
- Toggle 'Allow diagonal movement' to enable/disable diagonal movement