A simple implementation of the A* pathfinding algorithm written in python. The engine is a very simple platformer. The object of the game is to reach the yellow tile in as little time as possible, but my job was to make the computer find the shortest path.
The first part is controlled by me to show how the game works, but everything else is AI controlled. When the solve command is executed, the "shortest" path is generated and the player automatically follows the drawn path. Technically it's not the shortest possible path, but the calculation time is greatly reduced this way.
En esta página del sitio puede ver el video en línea A* Pathfinding Example - Pygame de Duración hora minuto segunda en buena calidad , que subió el usuario Michael Schrandt 06 diciembre 2011, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 10,921 veces y le gustó 81 a los espectadores. Disfruta viendo!