https://github.com/atlou/route
Winner of Swift Student Challenge 2024. Pathfinding visualization iOS app built with SwiftUI.
https://github.com/atlou/route
a-star dijkstra greedy-best-first-search pathfinding swift swift-student-challenge swift-student-challenge-winner swiftui wwdc24
Last synced: 3 months ago
JSON representation
Winner of Swift Student Challenge 2024. Pathfinding visualization iOS app built with SwiftUI.
- Host: GitHub
- URL: https://github.com/atlou/route
- Owner: atlou
- Created: 2024-02-19T02:12:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-24T16:46:41.000Z (about 1 year ago)
- Last Synced: 2025-03-25T16:55:34.846Z (4 months ago)
- Topics: a-star, dijkstra, greedy-best-first-search, pathfinding, swift, swift-student-challenge, swift-student-challenge-winner, swiftui, wwdc24
- Language: Swift
- Homepage: https://www.wwdcscholars.com/s/499D6CAB-3197-4CCA-801D-8EF000FC3D05/2024
- Size: 115 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Route

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## Features
- **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.## Getting Started
### Prerequisites
- Ensure you have the latest version of Xcode.
- Run the app using an **iPad** simulator in **landscape** mode.### Installation
1. Clone the project.
2. Open `Route.swiftpm` in Xcode.
3. Choose a simulator (either iPad Pro 11-inch or iPad Pro 13-inch).
4. Press `Run` to build and run the app.