|
No two ways about it, I loved this challenge! I completed it without looking at the hints, so didn't use Paul's suggestion of a 'winning moves' array. I implemented a 'correct answer' computed property (and also included the answer in a text field so I could test my logic - it can be commented out!) which feels a little cumbersome. Is there anything about the way I wrote that computed property which could be made... prettier? Something that definitely could be prettier is... well all of the design. I haven't leaned into design yet! But I'm happy to have completed the challenge.
|
|
You could have made it tidier using a
Regarding the layout, you have used multiple
|
|
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills β itβs the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.