Skip to content
/ astarjs Public

Javascript implementation of Astar path finding algorithm

Notifications You must be signed in to change notification settings

P4nos/astarjs

Repository files navigation

Visualize Astar

Description

This is an implementation of the Astar path finding algorithm using pure Javascript, HTML and CSS. The algrorithm implementation was mostly based on resources found here.

The goal of this project was twofold, first to understand the Astar algorithm and second to reinforce the learning process by visualising the actions the algorithm takes.

Prerequisites

  • Nodejs
  • Docker

Installation

Using Docker

Run make build make run

Using Nodejs

Run npm install npm run build npm run dev

After a successful build visit http://localhost:8080.

To exit run make stop or press Ctrl+C in case you are using the npm scripts.