In this challenge we are going to code three Micro:Bits to display 1) Characters, 2) The setting and 3) The problem. As an added bonus, students would code each Micro:Bit to randomly choose one criteria from a set list.
Big Ideas:
- Writing a narrative story
- Computational Thinking (design thinking, logical reasoning, debugging, conditional statements)
- Probability – Random numbers
Here is the syntax:
You will notice we use the OnShake input to trigger a random number. Each string is listed in a conditional IF statement and displayed if the corresponding number is chosen.
Check out the live demo below: