Random Card Workout with StoryboardUI
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.
Features
- 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”.
Preview
Requirements
To run this app, you need to have the following:
- iOS 14.0+
- Xcode 12.0+
- Swift 5.0+
Installation
-
Clone this repository:
git clone https://github.com/scgursel/Swift-WorkoutGame.git
-
Open the project in Xcode.
-
Build and run the app on the iOS Simulator or a physical device.
Usage
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.
Contributing
If you’d like to contribute to this project, follow these steps:
- Fork this repository.
git checkout -b my-new-feature
- Create a new branch:
git checkout -b my-new-feature
- Make your changes and commit them:
git commit -am 'Add new feature'
- Push your branch:
git push origin my-new-feature
- Open a Pull Request on GitHub.
Acknowledgments
- The game engine was developed using Swift and the UIKit framework.
License
This project is licensed under the MIT License.