← Code

micro:bit: talk and play

Connect micro:bits by radio and build a reaction game to race a friend.

Start1. Name a job
For teachers Usually Years 6–8 · 8 lessons (and 2 optional)

Name jobs as functions, send messages by radio and measure time, ending in a reaction game and a two-player radio duel.

  • Usually Years 6–8
  • Lessons 8 (and 2 optional)
  • Do first micro:bit Foundations
Teacher guide

Standards, in general: main focus: Implement programs with functions (8P09), Trace algorithms for errors (8P06). What this means

Talk

Radio messages between micro:bits, and codes both sides agree.

Time

Measure how long something took, and remember what is happening with true or false.

5Time betweenNot started
6True or falseNot started

Final challenge: Reaction duel

Build a reaction game from scratch, then race a friend over radio. Two optional lessons go further.

7Reaction timerNot started
8Radio duelNot started
9Fake-outs and levels OptionalNot started

Make the reaction game harder. Decoys you must not press, a list of target times that get tighter each level, and three lives.

  1. Predict
  2. Run
  3. Investigate › Targets per level
  4. Investigate › After the last level
  5. Milestone 1: fake-outs
  6. Milestone 2: levels
  7. Milestone 3: lives
Start lesson
10Tournament OptionalNot started

Take the Radio duel further. A scoreboard kept in a list, rounds that start themselves, and a champion at three wins.

  1. Predict
  2. Run
  3. Investigate › The scoreboard
  4. Investigate › Two sides of one match
  5. Milestone 1: keep score
  6. Milestone 2: the next round
  7. Milestone 3: champion
Start lesson

Progress is saved in this browser only. Nothing is sent anywhere.

For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)