← Code

micro:bit: talk and play

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

Start1. Name a job

Name a job

Functions: name some blocks once and call them anywhere.

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)