Welcome to the World Flags Guessing Game! This is the second project in the #PlayingAroundWithSwift series, designed to help you learn SwiftUI by building fun and interactive apps. In this project, you'll build a guessing game that challenges users to identify flags from around the world.
- Interactive Gameplay: Test your knowledge of world flags with a simple yet engaging UI.
- Custom UI Design: Learn how to build non-standard iOS interfaces using SwiftUI.
- Dynamic Feedback: Alerts provide feedback on correct and incorrect guesses.
- Streamlined Asset Management: Explore the use of asset catalogs to organize flag images.
- SwiftUI Components: Utilize stacks, buttons, images, and more to create a polished app.
- Stacks: Organize your app layout using VStack, HStack, and ZStack.
- Buttons: Add interactivity to your app with SwiftUI buttons.
- Images: Display and manage flag images efficiently.
- Alerts: Provide instant feedback to users.
- Asset Catalogs: Organize and manage your image resources.
- State Management: Use
@Stateto track and update app data dynamically.
- Language: Swift
- Framework: SwiftUI
- IDE: Xcode
- Clone the Repository:
git clone https://github.com/yourusername/world-flags-guessing-game.git
- Open the Project:
Open the
.xcodeprojfile in Xcode. - Run the App: Build and run the app on the iOS Simulator or a physical device.
- Assets.xcassets: Contains all flag images and app icons.
- ContentView.swift: Main UI and logic for the game.
- GameLogic.swift: Handles the core logic for the guessing game.
- README.md: Project documentation.
Add screenshots of your app here to showcase its design and functionality.
Add a short video showcasing the gameplay here.
Contributions are welcome! If youβd like to improve this project, feel free to fork the repository and submit a pull request.
- Fork the project.
- Create your feature branch:
git checkout -b feature/AmazingFeature. - Commit your changes:
git commit -m 'Add some AmazingFeature'. - Push to the branch:
git push origin feature/AmazingFeature. - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or feedback, feel free to reach out:
- LinkedIn: www.linkedin.com/in/ noble-udechukwu
- Email: nobleudechukwu3@gmail.com
Happy coding! π