Swift Playgrounds 1

One of the Swift Playground levels that I decoded was the “Bug Squash Practice”. It took me a little while, but I eventually figured it out. Here are the steps of code I used:

  1. Move forward
  2. Turn left
  3. Move forward
  4. Move forward
  5. Toggle switch
  6. Move forward
  7. Move forward
  8. Move forward
  9. Move forward
  10. Collect gem

Some difficulties I had were that I thought I had to go a completely different way that I had to go, so I spent a lot of time on that. But then I re-read the directions and I saw that it said that all of the blocks were there, I just had to put them in them in the right order. So then I realized that since there weren’t enough blocks for me to be able to use the way I thought I had to go, I started thinking of different ways. And finally, I figured out the right way, and it worked!

Leave a Reply

Your email address will not be published. Required fields are marked *