Slider Game is a fun and interactive project built using both UIKit and SwiftUI. The goal of the game is to slide a slider to a target value and test your accuracy. This project demonstrates the integration of traditional UIKit and modern SwiftUI frameworks, providing a rich learning experience for developers.
Dual Frameworks: Utilizes both UIKit and SwiftUI.
Interactive Gameplay: Players aim to match the target value by sliding a slider.
Score Calculation: Tracks and displays the accuracy of the player's attempts.
Modern Design: Incorporates SwiftUI's declarative syntax for enhanced UI.
Swift
UIKit
SwiftUI
git clone https://github.com/HARPREET011992/SliderGame.git
Open the Project: Open the .xcodeproj or .xcworkspace file in Xcode.
Select a Simulator: Choose an iOS Simulator from the toolbar.
Run the App: Press the Run button or use the shortcut Cmd+R.
Start the game.
Adjust the slider to match the target value shown on the screen.
Tap the Submit button to check your accuracy.
Your score will be calculated based on how close you are to the target.
Add Levels: Introduce difficulty levels for added challenge.
Leaderboard: Implement a leaderboard to track high scores.
Themes: Add customizable themes for the game interface.
Sound Effects: Include audio feedback for interactions.
Email: Harpreetvirk902@gmail.com