A native iOS 15-tile puzzle game using data and images made publicly available through the Unsplash API. Features of the app:
- Get an image from Unsplash and break it into 15 tiles
- Randomize the tiles without rendering the puzzle unsolvable
- Move the tiles
- Play the next set of tiles when the puzzle is completed
-
Install Cocoapods
$ bundle
-
Install Swift dependencies needed by the project
$ pod install
-
IMPORTANT: Copy the config file and enter your Unsplash API keys. You can register for a free account on Unsplash.
$ cd Puzzle15 $ cp Puzzle15.plist.example Puzzle.plist $ vi Puzzle15.plist # Enter your API keys
-
Open the project in Xcode and run
$ open Puzzle15.xcworkspace
The project includes both unit and UI tests. Select CMD-U to run the tests.