03 Mission Instructions
Your mission is to develop a robot that mimics how an animal responds to light in its environment.
For additional Biomimcry resources, check out the GoBox course summary page.
7. Iterate
In order to make your animal seem more animal-like, let’s add a random aspect to the movement. First, switch to Advanced Bloxter. Then, find a place in your program where your GoPiGo is moving. A real animal would never move at the same speed every time.
Find the random integer between [1] and [6] block in the Math category, and try adding it to your program.
How can you use random numbers to make your animal behavior more realistic?
How could you use loops to make your robot react to light over a longer period of time?
Follow the same steps – Design, Build, Code, Test – for each change you want to make. Make sure you keep track of your work.