This project demonstrates the A* pathfinding algorithm in a simple, grid-based RPG-like environment. It provides an interactive web interface where users can set start and end points, create obstacles, and visualize how the A* algorithm finds the optimal path.
- Interactive 20x20 grid
- Set start and end points
- Create and remove obstacles
- Visualize the A* algorithm's path-finding process
- Simple and intuitive user interface
- Clone this repository
- Open
index.html
in a web browser - Click to set the start point (green)
- Click again to set the end point (red)
- Hold Ctrl and click to add or remove obstacles (black)
- Click "Find Path" to run the A* algorithm
- Click "Reset" to clear the grid and start over
- HTML5
- JavaScript
- Canvas API
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is MIT licensed.
Aleksi Lemmetyinen
Happy pathfinding!