Swift Playgrounds 1

The code for this was:

moveForward

moveForward

turnLeft

moveForward

collectGem

moveForward

toggleSwitch

Something hard about this exact level is that I had to keep playing it to make sure it worked and if it didn’t, I had to add another block, but Byte walks really slow so that made it take a lot longer. Something that helped me though was counting the blocks and using my finger to point to where Byte would go.