Two-Robot Wireless Game: Night Strike Lesson Key Concepts
Play an interactive two-player game with Thymio and explore how wireless communication and programming work together! This lesson focuses on real-time interaction, signal exchange, and game logic:
- Create a two-robot wireless game inspired by Yubisuma.
- Use Thymio’s communication system to send and receive signals between robots.
- Sync actions and timing to create a real-time multiplayer experience.
- Advanced: Explore Aseba code to understand how emit functions control communication.
- Advanced: Modify signals, timing, or rules to create new game variations.
Lesson Overview
In this lesson, students will:
- Connect two Thymio robots using a shared wireless dongle.
- Install and run the Night Strike program.
- Play a reaction-based game using buttons and timing.
- Explore how robots communicate during gameplay.
By the end of this lesson, students will understand how wireless communication enables interactive multi-robot systems.
Important Notes:
This lesson can be run as a quick game activity or expanded into deeper study by analyzing the communication code.
Tips for this Lesson:
- Make sure both robots are connected to the same channel.
- Start the game at the same time for proper synchronization.
- Play a few rounds before exploring how the code works.
- Experiment with changing signals or timing to create new gameplay.
Products/Materials
The following products and resources can be used in this lesson:
Thymio II Robot (x2)
Wireless Dongle (shared)
Thymio Suite / Aseba
FUN FACT!
Did you know that multiplayer video games and networked systems use similar communication methods? Devices constantly send and receive signals to stay in sync, just like your Thymio robots in this game!
Download the Lesson PDF Files Below:
Check out the video tutorial/solutions below:
You will also need to pair two robots to single dongle and download the Aseba program here.