Route is a Swift Playground app built for the Swift Student Challenge 2024. The app enables users to visually grasp how those three pathfinding algorithms operate:
- A*
- Dijkstra's
- Greedy Best-First Search
- Interactive grid: Create different maps by placing obstacles and moving the start and target blocks to different locations.
- Maze generation: Challenge the pathfinding algorithms with auto generated mazes.
- Algorithm selection: Choose from three distinct pathfinding algorithms. Each selection comes with a concise description, outlining the algorithm's approach, strengths, and weaknesses.
- Real-time solving animation: Watch an animated visualization of the algorithm as it attempts to find a path.
- Ensure you have the latest version of Xcode.
- Run the app using an iPad simulator in landscape mode.
- Clone the project.
- Open
Route.swiftpm
in Xcode. - Choose a simulator (either iPad Pro 11-inch or iPad Pro 13-inch).
- Press
Run
to build and run the app.