Toys roll down the conveyor belt and your robot sorts them into three bins. Write its program with IF, AND and ELSE rules, press RUN, and see if every toy lands in the right bin! With 3D glasses the belt runs deep into the screen.
π Factory jobs
Do you have 3D glasses? Red-green, red-blue and red-cyan glasses all work.
You can change this any time from the menu.
3D GLASSES
Your glasses
Check the 3D
How deep?
Less depth is easier on the eyes. More depth pops out more.
1. Hide the green bar
Put the glasses on and cover the eye behind the green lens, so you look only through the red lens. Slide left until the green bar disappears.
2. Hide the red bar
Now cover the eye behind the red lens, so you look only through the green lens. Slide left until the red bar disappears.
3D mode is just a fun way to play. If your eyes feel tired, take a break or play without glasses.
HOW TO PLAY
Read the job at the top, for example Balls go LEFT. Everything else goes RIGHT.
Build the robot's program. A rule says IF a toy is something, THEN send it to a bin. Later jobs let you use AND: IF big AND ball.
The robot checks the rules from the top. The first rule that fits the toy wins, and the rest are skipped. If no rule fits, the toy goes where ELSE says.
Press βΆ RUN. All 18 kinds of toy roll down the belt (3 shapes, 2 sizes, 3 patterns). The rule being used lights up.
If a toy lands in the wrong bin, the game tells you which rule sent it there. Fix your program (that is called debugging) and run again.
Right on the first run gets βββ, the second run ββ.
HOW 3D WORKS
Try this: hold up a finger and look at it with one eye, then the other. It jumps! Your brain uses the jump between your eyes to see depth: stereo vision.
The game draws the factory twice, from two eyes a little apart, in red and in green (or blue). The glasses give each eye its own picture, so toys start far back in the screen and roll out towards you.
Code fact: real computers make millions of IF decisions every second, in exactly this way: check the rules in order and do the first one that fits. Post offices use sorting machines that read addresses and push each letter into the right bin, just like your robot.