The main objective is to create a program that helps to divide students in a class into several groups. When touched, the robot has to change the color of its eyes and ears at random (from a given selection of colors). The children should come up in turns and touch the robot. A randomly drawn color indicates a group assignment.
1. First, determine the number of required groups and assign them colors, e.g.
2. In preparation time for your class, create the following program:
Notes:
NOTE!
Prior to the draw, determine the number of students required in each group. The program will draw indefinitely, so one color may come up more often than others. When a specific group is full (because one color comes up frequently) and it needs no more participants, you can either update the program (deselect a particular color) or simply ask the child to touch the robot again until an available group (color) is drawn.