Random Card Workout with StoryboardUI

Random Card Workout is an iOS app that displays random cards and prompts the user to do exercises based on the card drawn. It provides a fun and engaging way to incorporate exercise into your daily routine.


  • Random card generation: Each time the game is played, a random card will be displayed on the screen.
  • Card deck: The game includes a predefined deck of cards from which the random card is drawn.
  • Touch interaction: The user can draw a card by tapping “Stop” button and then restart with by tapping “Restart”.


Simulator Screen Recording - iPhone 14 Pro - 2023-06-02 at 05 32 11


To run this app, you need to have the following:

  • iOS 14.0+
  • Xcode 12.0+
  • Swift 5.0+


  1. Clone this repository:

    git clone https://github.com/scgursel/Swift-WorkoutGame.git
  2. Open the project in Xcode.

  3. Build and run the app on the iOS Simulator or a physical device.


Once the app is running on your iOS device or simulator, the main screen will appear. To start the workout, simply tap on the “Stop!” button. A random card will be shown, and you can follow the exercise instructions provided in rules screen. After completing the exercise, you can draw another card or end the workout.


If you’d like to contribute to this project, follow these steps:

  1. Fork this repository.

    git checkout -b my-new-feature
  2. Create a new branch:

    git checkout -b my-new-feature
  3. Make your changes and commit them:

    git commit -am 'Add new feature'
  4. Push your branch:

    git push origin my-new-feature
  5. Open a Pull Request on GitHub.


  • The game engine was developed using Swift and the UIKit framework.


This project is licensed under the MIT License.


View Github