Skip to content

CSCoursework/tp-astar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tp-astar

An implementation of the A* pathfinding algorithm (translated from the code supplied in this article) in Go, with an additional image generator.

(I'm just a little bit proud of the fact that I came up with the relevant maths in my head and got the code working first try for the image)

Example visualisation

To run:

  1. Create a maze in main.go and define a start and end point. true denotes a wall, false denotes an empty cell.
  2. Run main.go.
  3. Observe the path printed to the console and the generated image (blue is the start, green is the end and red is the path taken).

About

Tom: Golang implementation of the A* pathfinding algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages