Skip to content

shiftingsand/100DaysOfSwiftUI-Day22-GuessTheFlag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Base code is from Paul Hudson's 100 Days of SwiftUI.

Assignment:

  1. 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.
  2. Show the player’s current score in a label directly below the flags.
  3. 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.

About

Guess the Flag challenge from Paul Hudson's 100 Days of SwiftUI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages