This game is a variation on the one I posted previously. In this version, a person is walking around with a MicroBit. Every time they walk up to a Sign Post, they press a button and then receive instructions on their own MicroBit, making it a transceiver.
Treasure Hunt - Send and Receive
Description: This is another version of the Treasure Hunt Game. In this version of the game, a treasure is hidden somewhere. A group of treasure hunters will follow directions from Sign Posts to locate it. In this version, the treasure hunters will approach a signpost, press a button on their MicroBit, and then receive instructions on their MicroBit. The game is over when the Treasure Hunters find the treasure.
Sign Post: The sign posts are meant to be little stations that will let the treasure seeker know how far, and in what direction they should go to find the next signpost or the treasure.
I want: The MicroBit will be in a rest state, and it will be listening on a radio channel. When it receives something, it will broadcast a direction (left or right) and a certain number of steps.
# Add your Python code here. E.g.
Treasure Hunter: The treasure hunters have Microbits that can signal a Sign Post for directions. They will press the ‘A’ button and see what the signpost tells them.
I want: The MicroBit will be in a rest state, and it will be on a radio channel. When the ‘A’ button is pressed it will send a message. The SignPost will receive the message, then send a two part message including direction and steps. The MicroBit will receive the message and scroll it through the LEDs.
The game is over when the Treasure Hunters find the treasure.