We are all baking more during lockdown, but with our latest challenge you don’t need the robot. All you need is the Fable Blockly software, which a family member or your ‘nominated baker’ can use to replicate what the Fable robot would do. You will learn which code blocks are important, what to use and how to code a recipe.
- Find a recipe for a cake (If you do not have cake ingredients or want to make something else that’s fine too).
- Create a plan for your code:
- First code: My nominated baker has to read the recipe.
- Second code: They have to find all ingredients.
- Third code: The baker has to collect all the necessary utensils they need for cooking.
- Put together codes that will make your baker bake the cake. You will need the following code blocks:
- LoopsHere you will see examples of blocks used for speed, movement, number of times, etc. Instead, imagine that it is your baker’s movements that you need to code. Remember all the details in the process have to be coded. There are codes available in Fable Blockly that can be used as inspiration to extend your analog code – remember there is a simple and advanced view.
- Now take a photo of the cake & eat
- Test yourself!
- Where in the code did it go wrong? What did your baker do wrong and what did you do to correct them?
- Could you imagine having a robot in your home that could cook for you? What would be the pros and cons?
There was only one prize for this competition, and we did not win it, but the organisers were so impressed with Harvey’s entry that they added in another prize for him. Well done Harvey. To see each entry, click on below:
Fergus’ entry. Click here for the code and review.
Jamie’s entry. Click here for the code and review. (Python programme available email us on email@example.com)