Roll Left, Roll Right Swift Playgrounds solution
Hi everyone,
Can anyone help with helping me spot where I’m going wrong with my solution.
Byte completes all of the tasks, but just keeps walking around.
I want the loop to end, preferably when Byte is on the final open switch but can’t seem to Figure out how. Here’s a screen grab of my code so far. I’m a newbie to coding so any help is appreciated,
thanks,
null-OTHER, Swift Playgrounds