Reply To: Module 2 – Introduction to Coding with MakeCode Micro:bit

Home › Forums › STEM-Ready Classrooms Course Forum › Module 2 – Introduction to Coding with MakeCode Micro:bit › Reply To: Module 2 – Introduction to Coding with MakeCode Micro:bit

#256423
G Nagle
Participant

    The name of the tutorial you completed:
    Coin Flipper on MakeCode for micro

    A short description of what your code does:
    My code turns the micro into a digital coin flipper. When the micro is shaken, it randomly chooses either heads or tails and shows the result on the LED screen. This uses chance, input from the shake gesture, and output on the micro display.

    MakeCode share link to your project:
    https://makecode.microbit.org/_gupHHA6M1LJx

    How this could become an integrated STEM learning experience:
    This tutorial could be turned into an integrated STEM activity by linking coding with Maths and probability. Pupils could predict whether the micro will show heads or tails, test it a number of times, and record the results in a table. They could then compare the number of heads and tails and discuss whether the results were fair or random link to chance in Maths

    It could also link to Science and Technology, as pupils would explore how the micro responds to movement and how an input, such as shaking, can create an output. Pupils could work in pairs, test their code, debug any errors, and explain how they improved it. This would support computational thinking skills such as sequencing, testing, debugging and using data.

    Shopping Basket
    Scroll to Top