Information about cookies on this page

Our website uses cookies to ensure the functionality of the website, to collect and analyze information about the performance and usage of the website. Privacy Policy

  • Courses
    • Discord
    • Twitter
    • Linkedin
    • Facebook
    • Instagram
  • Pricing
  • English
  • Čeština
  • Deutsch
  • Русский
Sign inStart free
  • Courses
  • Pricing

Community

Sign in
  
  • Courses
    • Discord
    • Twitter
    • Linkedin
    • Facebook
    • Instagram
  • Pricing
  • English
  • Čeština
  • Deutsch
  • Русский
Sign inStart free
  • Courses
  • Pricing

Community

Sign in

Around the Flower Bed

The path goes around a flower bed, and there are bones in its corners. The dog has to walk around the bed and pick up the bone in each corner.

Before you start building, find the pattern. What does the dog do along one side of the bed? It takes three steps, picks up a bone and turns right so it can go on along the next side. Along the second and third sides, it does exactly the same.

So this whole group of blocks belongs in the loop, and the loop repeats it for each side. How many passes do you need? Count the bones: there's none at the start.

Instructions

  1. 1

    Pick up all three bones.

  2. 2

    Use at most 6 blocks.

Back

7/11

  1. 1. Repeating Moves
  2. 2. Loops
  3. 3. Stairs
  4. 4. After the Loop
  5. 5. Quiz: Pass by Pass
  6. 6. A Bone on Every Tile
  7. 7. Around the Flower Bed
  8. 8. A Loop in a Loop
  9. 9. A Bug in a Loop
  10. 10. Quiz: A Bug in a Nested Loop
  11. 11. Summary
Next

Try it yourself

Do this exercise right here in your browser. No account needed.