Skip to content

Amirreza1h1/pacman_astar_project-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman Astar Project

This project find the shortest path between pacman position and nearest food and do it for count of foods in selected grid.

Usage

Just run pacman.py with

python pacman.py

Run

game_play

it uses turtle library for showing the game play.

Logic

Before pacman moves it realises the Manhattan distance of each food and choose it as the first in a list, then from that point; find the nearest one and append it to the list and do it in a loop and after that it starts to move.

Contact

If you have any questions or comments, please feel free to reach out to me at [[email protected]] or [[email protected]].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages