Follow along at https://www.hackingwithswift.com/100/swiftui/31.
This day covers Part Three of Project 5: WordScramble
in the 100 Days of SwiftUI Challenge. (Project 5 files can be found in the directory for Part One.)
In addition to recapping the material covered during the project's other days, Day 31 focuses on extending the project according to a set of challenges.
Disallow answers that are shorter than three letters or are just our start word.
- 🔗 Commit
Add a left bar button item that restarts the game, so users can restart with a new word whenever they want to.
- 🔗 Commit
Put a text view below the List so you can track and show the player’s score for a given root word. How you calculate score is down to you, but something involving number of words and their letter count would be reasonable.
- 🔗 Commit