Part 3: Creative AI Applications

Activity 1: AI Gesture-Controlled Rock Paper Scissors

STEP 1 (Training): Go to createai.microbit.org and connect your micro:bit following the on-screen instructions. Train your model to recognize three different movements. For rock, hold the micro:bit still and flat. For paper, wave the micro:bit side to side. For scissors, shake the micro:bit up and down. Collect at least eight samples for each movement and make sure each action is clear and consistent. Train your model and test it until the micro:bit can reliably recognize all three gestures. If you need help at any point, use the video below as a guide. 

STEP 2 (Challenge): Open makecode.microbit.org and create a Rock Paper Scissors game using your trained AI model. Program the micro:bit so that when each gesture is detected, it shows the correct icon on the LED screen. Rock should show a square or stone-like image, paper should show lines or a sheet pattern, and scissors should show an X. Program button A so the micro:bit randomly chooses its own move, then add logic to compare the player’s gesture to the computer’s choice and display who wins the round.

STEP 3 (Invention): Take the game further by turning it into a two-player experience using radio. Give each player a micro:bit and program both devices to send their gesture choice using radio communication. When both players have made a move, display who won on each screen and update a score counter. Continue playing rounds until one player reaches five wins, then show a final winner message.

Activity 2: Motion-Controlled LED Art or Sound Maker