Mercurial > public > geoquiz
comparison GeoQuiz/Logic/GuessTheCapital.swift @ 4:de54f05adb78
add prototype game stats
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 22 Sep 2022 11:38:42 +0200 |
parents | 4dbe0cd9dadc |
children |
comparison
equal
deleted
inserted
replaced
3:4dbe0cd9dadc | 4:de54f05adb78 |
---|---|
5 // Created by Dennis Concepción Martín on 18/9/22. | 5 // Created by Dennis Concepción Martín on 18/9/22. |
6 // | 6 // |
7 | 7 |
8 import Foundation | 8 import Foundation |
9 | 9 |
10 class GuessTheCapital: ObservableObject { | 10 //class GuessTheCapital: ObservableObject { |
11 | 11 |
12 // struct Country: Hashable { | 12 // struct Country: Hashable { |
13 // let capitalName: String | 13 // let capitalName: String |
14 // let flagSymbol: String | 14 // let flagSymbol: String |
15 // } | 15 // } |
112 // self.alertTitle = "Wrong!" | 112 // self.alertTitle = "Wrong!" |
113 // self.alertMessage = "The capital of \(countryNameAsked) is \(correctCountry.capitalName). You have \(userLives) lives left" | 113 // self.alertMessage = "The capital of \(countryNameAsked) is \(correctCountry.capitalName). You have \(userLives) lives left" |
114 // self.showingWrongAnswerAlert = true | 114 // self.showingWrongAnswerAlert = true |
115 // } | 115 // } |
116 // } | 116 // } |
117 //} | |
118 | |
119 class GuessTheCapital: ObservableObject { | |
120 | |
117 } | 121 } |