MultiColor

Author: fredebec
Created: 3/8/2013
Updated: 4 years ago
Filesize: 6,020
The script tracks Multi Colors (here red, green and blue) and each time a color is tracked, the script update a textfile corresponding to the color and increases by 1 the number inside the file. So, the more a color is seen, higher the number is. Then the script compares the number of the color tracked to other colors and if the color is the most seen, the bot says he doesn't like it. At contrary, if the color tracked is the less seen, the bot says he does like it. This way, the bot "learns" during time which color he prefers and which color he dislikes... and say it!
 
Load the robot project into EZ-Builder
Get
Purchase EZ-Bits for this robot
Buy