Project ROBBO Lab Kit travel through celestial bodies
Contents |
Link to author's page
Link to author page (Niyaz Fayzullin)
Description of the project
I already know how to program "sprites", as well as a lab and a robocop platform. Now my task was that the first thing the sprite "robot" went to the center of the screen and asked the question "where do I go?" He has a choice between 3 locations. These 3 locations are set by sprites. In our case it is the moon, the earth and the sun. After the successful creation of all the sprites. We program the lab and the robot platform so that when we press the button on the lab our robot platform moves to one of the 3 locations. At this moment on the screen the desired sprite (moon, earth, sun) increases in size and asks to press a key. To go there. Then on each of the locations write a program for applying a certain type of sensors. In my work it turned out that on the ground I checked the line sensor, on the moon touch sensor and in the sun the light sensor. After creating the 3rd location, I created a variable that tracked the passage of each of the locations. And when all locations are passed to the screen, a victory is displayed.