How gabrielfrimodig/a-star-algorithm works
Project type and purpose
• This is a small, interactive Java-based visualization tool demonstrating the A* pathfinding algorithm on a grid.
• Its primary function is to accept user input (start/goal points and obstacles), compute the optimal path using A*, and render the result in real time.
File structure
• Top level:
• README.md – project description and instructions
• makefile – build and run commands
• src/ directory:
• Main.java – entry point, bootstraps the application
• PathFinder.java – contains the A* algorithm logic and grid management
• No separate frontend/backend directories—both UI and algorithm reside in one Java process.
README for additional insights
• Uses plain Java (likely AWT/Swing or JavaFX) for rendering the grid and capturing clicks/inputs.
• Makefile commands show a simple compile-and-run flow—no external services or databases.