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

  • Real name 2017-08-30 13:17

    the page isn't working
  • Fabian 2020-10-16 14:31

  • Fabian 2020-10-16 14:31