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.
pip install -r requirements.txt
python src/enemy_ai.py
| Key | Action |
|---|---|
| WASD / Arrow Keys | Move player |
| R | Restart after caught |
- Python 3.x
- pygame-ce
- A* with Manhattan distance heuristic
https://github.com/Ph0enix22/enemy-ai-astar/blob/main/assets/demo_video.mp4
