Skip to content

Noblecodes/GuessTheFlag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 World Flags Guessing Game

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.


πŸ“± Features

  • 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.

πŸŽ“ What You'll Learn

  1. Stacks: Organize your app layout using VStack, HStack, and ZStack.
  2. Buttons: Add interactivity to your app with SwiftUI buttons.
  3. Images: Display and manage flag images efficiently.
  4. Alerts: Provide instant feedback to users.
  5. Asset Catalogs: Organize and manage your image resources.
  6. State Management: Use @State to track and update app data dynamically.

πŸ› οΈ Tools and Technologies

  • Language: Swift
  • Framework: SwiftUI
  • IDE: Xcode

πŸš€ Getting Started

  1. Clone the Repository:
    git clone https://github.com/yourusername/world-flags-guessing-game.git
  2. Open the Project: Open the .xcodeproj file in Xcode.
  3. Run the App: Build and run the app on the iOS Simulator or a physical device.

πŸ“‚ Project Structure

  • 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.

πŸŽ₯ Screenshots and Demo

Screenshots

Add screenshots of your app here to showcase its design and functionality.

Demo Video

Add a short video showcasing the gameplay here.


🀝 Contributing

Contributions are welcome! If you’d like to improve this project, feel free to fork the repository and submit a pull request.

  1. Fork the project.
  2. Create your feature branch: git checkout -b feature/AmazingFeature.
  3. Commit your changes: git commit -m 'Add some AmazingFeature'.
  4. Push to the branch: git push origin feature/AmazingFeature.
  5. Open a pull request.

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ’¬ Contact

If you have any questions or feedback, feel free to reach out:

Happy coding! πŸŽ‰

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages