Pathfinder
Developed using the SDL library to implement and practice AI pathfinding (Dijkstra's).
Overview
Implement Dijkstra's algorithm for AI pathfinding.
How It Works: Player defends islands from AI ships. AI uses a state machine to target islands or chase the player.
Pathfinding
- Dijkstra's Algorithm
- Graph representation
- Shortest-path calculation
AI
- State Machine (Idle, Chase, Attack)
- Steering Behaviors (Arrive, Evade)
Physics
- 2D collision (AABB)
- Collision responses