Thank you so much for your reply. It seems that the term "greenPortal" refers to the circular objects illuminated in green over certain tiles.
I could not solve this exercise and had to look at the solution, which I never would have figured out on my own. The solution introduces functions, which were not discussed previously, as far as I can tell. Also, I am confused (again) by what is a portal and what is a switch.
Perhaps I should abandon using the Swift Playground, as it is, in my opinion, very poorly designed and is not teaching me much about Swift programming. Having already taken several courses in Python, C# and VB.NET, as well as having programmed in Excel VBA for over 27 years, perhaps a less cutesy application that's geared towards experienced programmers would be more suitable for me, as you have indicated. Thank you kindly.
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags: