Previous site
Mission 17 / 29

Please Protect the Dinosaur Eggs!

My friend is a huge dinosaur. Please help me protect its eggs!

Mission

Use a DC motor for the dinosaur’s neck and build the eggs with a proximity sensor.

Code the dinosaur to pull its neck back when someone comes close to the eggs (proximity sensor block).

Please Protect the Dinosaur Eggs!
Finished model

Blocks needed

  • × 1
  • × 1
  • × 18
  • × 31
  • × 5
  • × 1
  • × 1

How to build 16 steps

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Step 6
  7. Step 7
  8. Step 8
  9. Step 9
  10. Step 10
  11. Step 11
  12. Step 12
  13. Step 13
  14. Step 14
  15. Step 15
  16. Step 16
1 / 16

Coding mission

Code the dinosaur to pull its neck back when someone comes close to the eggs (proximity sensor block).

Think about what happens when the proximity sensor does or doesn’t detect something.

App to useCoding Cubroid AIApp StoreGoogle PlayWeb version
App menu to use

Built it and coded it? Tap to save your progress.