Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.56 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.56 KB

Guess the Flag 🌍🚩

Guess the Flag is a fun, educational game designed to help users learn the flags of different countries while improving their memory and recognition skills. Developed entirely with SwiftUI, this project is a fantastic introduction to creating interactive user interfaces and state management in Swift.

📖 About the Project

In this game, users are presented with a random flag and three possible country options. The goal is to correctly identify the country the flag represents. With each correct or incorrect answer, players receive immediate feedback, making it both engaging and educational.

🛠️ Key Features

  • Randomized Challenges: Each round presents a new flag and three country options, ensuring variety.
  • Interactive Feedback: Players receive instant visual feedback for correct and incorrect guesses.
  • Score Tracking: Keeps track of the player's score to motivate accuracy and learning.

🚀 Technologies Used

  • Swift
  • SwiftUI
  • Animation Effects (e.g., withAnimation)

💡 Key Learnings

This project demonstrates:

  • Creating views with Stack layouts for clean and intuitive UI.
  • Managing state with @State and updating the UI reactively.
  • Adding animations to enhance user experience and feedback.

📸 Screenshots

image

🏆 Credits

This project is part of the Hacking with Swift tutorial series by Paul Hudson.