Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enemy AI ~ A* Pathfinding

Real-time enemy pathfinding in a 2D maze using the A* search algorithm.
Built with Python and pygame-ce for an AI Lab mini-project.

Run

pip install -r requirements.txt
python src/enemy_ai.py

Controls

Key Action
WASD / Arrow Keys Move player
R Restart after caught

Stack

  • Python 3.x
  • pygame-ce
  • A* with Manhattan distance heuristic

Demo

Enemy AI Demo

https://github.com/Ph0enix22/enemy-ai-astar/blob/main/assets/demo_video.mp4

About

Interactive A* pathfinding demonstration featuring real-time enemy pursuit, obstacle navigation, and path visualization.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages