Description: A pathfinding game by applying A* algorithm to find the closest path based on pygame The main function starts running by showing a 50 x 50 board where users can click on the blocks to set the starting position and destination. Then users could build walls anywhere on the board by clicking on the blocks. When users press the key SPACE, the game will start finding the closest path from the starting position to the destination. Users could press key C to restart the game.
6.mp4
Require: Python 3 Pygame