Created
July 12, 2025 09:08
-
-
Save Shubham-0812/7a83d1663a52ed655cc4f35bf69c0500 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| struct Game { | |
| let rounds: [GameRound] | |
| let roundTimeLimit: TimeInterval | |
| // difficulty | |
| // hintsRemaining | |
| // category | |
| } | |
| // 1 Round | |
| struct GameRound: Identifiable { | |
| let id: String = UUID().uuidString | |
| let characters: [Character] | |
| let possibleWords: [String] | |
| var requiredWordCount: Int | |
| var possibleWordsCount: Int { possibleWords.count } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment