Follow along at https://www.hackingwithswift.com/100/38.
This day covers the third and final part of Project 8: 7 Swifty Words
in Hacking with Swift.
I have a separate repository where I've been creating projects alongside the material in the book. And you can find Project 8 here. However, I also copied it over to Day 36's folder so I could extend from where I left off.
With that in mind, Day 38 focuses on focuses extending the project according a set of challenges.
Use the techniques you learned in project 2 to draw a thin gray line around the buttons view, to make it stand out from the rest of the UI.
- 🔗 Commit
If the user enters an incorrect guess, show an alert telling them they are wrong.
Try making the game also deduct points if the player makes an incorrect guess. Think about how you can move to the next level – we can’t use a simple division remainder on the player’s score any more, because they might have lost some points.
- 🔗 Commit