This is a fully functioning Guess The Flag game I created as part of my 100 days of SwiftUI course with Paul Hudson.

Overview

GuessTheFlag

This is a fully functioning Guess The Flag game that was a part of my 100 days of SwiftUI course with Paul Hudson.

In this app my challenges were:

Add an @State property to store the user’s score, modify it when they get an answer right or wrong, then display it in the alert and in the score label.

When someone chooses the wrong flag, tell them their mistake in your alert message – something like “Wrong! That’s the flag of France,” for example.

Make the game show only 8 questions, at which point they see a final alert judging their score and can restart the game.

Screen Shot 2021-11-29 at 9 56 55 PM

You might also like...
The QuoteKit is a Swift framework to use the free APIs provided by Quotable created by Luke Peavey.
The QuoteKit is a Swift framework to use the free APIs provided by Quotable created by Luke Peavey.

QuoteKit The QuoteKit is a Swift framework to use the free APIs provided by Quotable created by Luke Peavey. It uses the latest async/await syntax for

A movie api created using Vapor, Fluent (ORM) and Postgres

A movie api created using Vapor, Fluent (ORM) and Postgres

Project 03 I created for
Project 03 I created for "iOS & Swift - The Complete iOS App Development Bootcamp"

Dicee This is the third project I created for "iOS & Swift - The Complete iOS App Development Bootcamp" Our Goal The objective of this tutorial is to

Spiro - Swift Playgrounds 4 app created on the iPad
Spiro - Swift Playgrounds 4 app created on the iPad

Spiro Swift Playgrounds 4 app created on the iPad^. ^ Xcode also used as explain

🏀 iOS and Android NBA app created with React Native
🏀 iOS and Android NBA app created with React Native

Swish An iOS and Android NBA app created with React Native. If you would like to request a feature, find a bug, have a question, or would like to leav

TTipBoxView is a simple and flexible UI component fully written in Swift
TTipBoxView is a simple and flexible UI component fully written in Swift

TTipBoxView is a simple and flexible UI component fully written in Swift. It is developed to help you create a hint/prompt view quickly, saving your time and avoiding having to write many lines of codes.

Kotlin Multiplatform sample with SwiftUI and Compose (Desktop and Android) clients. Heavily inspired by Wordle game.
Kotlin Multiplatform sample with SwiftUI and Compose (Desktop and Android) clients. Heavily inspired by Wordle game.

WordMasterKMP Kotlin Multiplatform sample heavily inspired by Wordle game and also Word Master and wordle-solver samples. The main game logic/state is

Quiz-Swift: a quiz game like TRUE OR FALSE
Quiz-Swift: a quiz game like TRUE OR FALSE

Quiz-Swift It's a quiz game like TRUE OR FALSE Working.mp4

A fast-paced color matching game.

***DOCUMENTATION: WELCOME TO COLOURS. COLOURS is an iOS application built using XCode and Swift. COLOURS is a game, and the objective is to match al

Owner
Alex Diaz
Alex Diaz
100 Days of Swift by Paul Hudson (@twostraws).

100DaysOfSwift This repository includes all of the projects from Paul Hudson's 100 Days of Swift course. These projects were built for iOS 16 with Xco

Matt 3 Dec 15, 2022
Swift 100 Days of SwiftUI Course

100 Days of SwiftUI & Combine Projects, playgrounds, and other material made while following along with Paul Hudson’s 100 Days of SwiftUI course -- an

CypherPoet 198 Jan 7, 2023
GuessTheFlag - 100 Days of SwiftUI

GuessTheFlag My own take on GuessTheFlag 100 Days of SwiftUI. This was also my f

Joey Graham 1 Jan 23, 2022
This is BouncyBall, from Develop in Swift Explorations Unit 3, completed into Part 3, where the onTapped function gets a little squirrelly

This is BouncyBall, from Develop in Swift Explorations Unit 3, completed into Part 3, where the onTapped function gets a little squirrelly. Use this version when you add a function to be called when the funnel is tapped and taps aren't registered in the simulator.

Teaching Develop in Swift 0 Nov 20, 2021
MacLookup - Lookup for all Mac names, colors, model identifiers and part numbers

MacLookup Lookup for all Mac names, colors, model identifiers and part numbers.

Voyager Software Inc. 2 Jan 4, 2022
A project to practice the Platzi course, Curso de Desarrollo de Aplicaciones iOS con SwiftUI

A project to practice the Platzi course, Curso de Desarrollo de Aplicaciones iOS con SwiftUI

Joaquin Segovia 1 Mar 14, 2022
Restaurant - Educational application from the Apple Mobile Development Course for MDA

Restaurant Educational application from the Apple Mobile Development Course for

NIKOLAY NIKITIN 0 Aug 8, 2022
CodePath-iOS-Prework - Prework project for Intro to Mobile App Development course on CodePath

CodePath iOS Prework App Description This app has an input field, text, and seve

Russell Elliott 0 Feb 2, 2022
Are you sure the chemical compounds of your daily use are 100% safe? Use Chem-Aware, identify them right now!

View Project On Devpost: Built With: PubChem's REST API How To Install Chem Aware: Prerequiste: Latest Version of Xcode and Simulators installed The a

Jerry Zhang 5 Aug 23, 2022
🛠 A flexible and easy template created to speed up the development of your iOS application based on the MVP pattern.

Model-View-Presenter template A flexible and easy template created to speed up the development of your iOS application based on the MVP pattern. This

Tamerlan Satualdypov 22 Nov 9, 2022