Skip to main content

A* Pathfinding Algorithm

Simple implementation of the A* pathfinding algorithm using pygame.

Canio Massimo Tristano
This is a A* pathfinding algorithm demo working with pygame.

Just run the file.

Red cell means it's in the CLOSED list, green in the OPEN list (cells still to check). The numbers in cells are g (the cost), h ( the heuristic) and f ( the total score, f = g + h).

Thanks and enjoy.


Home Page


A* Pathfinding Algorithm 1.0 — 10 Jun, 2008

A* Pathfinding Algorithm 2.0 — 11 Jun, 2008

A* Pathfinding Algorithm 2.2 — 8 Jul, 2008 account Comments

  • ┼×ahin Mersin 2011-05-25 21:40:52

    very good