Well done! Time to try something a little harder ...
Oh no, something was not right! Check your code avoids asteroids and collects donuts and try again.
Oh no, you crashed into an asteroid! Check your code and try again.
Sophie is trying to make it through the asteroid belt in her rocket. Let's start by collecting those donuts! Can you use the code to collect a donut when it comes along?
Drag the blocks from your toolbox into your workspace to add it to your code. To run your code, press the
For more help about using your toolbox and workspace, take a look on the home page.
Although your code does avoid the asteroid, it does use a lot of fuel. Can you think of another way to protect Sophie's rocket?
Sophie opened the hatch to collect the donut but there was nothing there! Try again.
Week 3: Asteroids!
Can you use the blocks to collect donuts and move away from asteroids?
Click and drag your blocks from the toolbox onto the workspace and press the
button to run your code.