Skip to content

cybersamx/ios-puzzle15

Repository files navigation

Puzzle15-iOS

Overview

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

Screenshot of Puzzle-15

Run the App

  1. Install Cocoapods

    $ bundle
  2. Install Swift dependencies needed by the project

    $ pod install
  3. 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
  4. Open the project in Xcode and run

    $ open Puzzle15.xcworkspace

Test the App

The project includes both unit and UI tests. Select CMD-U to run the tests.

References

About

Native iOS 15 Puzzle game.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published