Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozturan/a--labrinth
a* algortihm for solving a labrinth
https://github.com/mozturan/a--labrinth
a-star labrinth pacman
Last synced: 8 days ago
JSON representation
a* algortihm for solving a labrinth
- Host: GitHub
- URL: https://github.com/mozturan/a--labrinth
- Owner: mozturan
- Created: 2023-03-13T20:00:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-11T18:28:11.000Z (6 months ago)
- Last Synced: 2024-05-28T12:38:31.497Z (6 months ago)
- Topics: a-star, labrinth, pacman
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Path_Planning
A* algorith for an agent to find its way to eat the apples in a maze. Apples represent the stations to stop. Task is the stop at the stations while finding the shortest way.Heuristic function i used for this task =
**furtherest station (apple) distance from current situation** +
**distance of furherest station from the furtherest station**# Examples
- RED - Stations (Apples)
- BLUE - Agent
- BLACK - WALLS
- GREEN - SOLVED PATH![Screenshot from 2024-05-11 21-22-04](https://github.com/9Xxi8Q4f/a--labrinth/assets/89272933/f63bae7c-96c1-4f29-b175-56a08b8189db)
![Screenshot from 2024-05-11 21-23-41](https://github.com/9Xxi8Q4f/a--labrinth/assets/89272933/500b322a-ea6b-4d23-be40-a591513f3a43)### Issues and TODO
- Is not that efficient, takes long to compute, needs rewrite (this is a pretty old project of mine)
- Need better visiulizing with animations
- Node class need more features to keep the algorithm more simple
- Well i can't imageine a better heuristic than this lol