How do we Communicate?
Today we’ll continue playing with coding.
As a class, we will discuss complex and simple behaviors, algorithms, and flow charts.
In the Karel module, the programming was pretty simple, you just gave it a command and it automatically knew you were talking to Karel. However, in the module from Code Avengers, you’ll need to identify that your command is for the robot for each command. This is similar to our simulation last class where we built a peanut butter sandwich. I would constantly move the wrong arm or hand if you didn’t specifically identify what you wanted me to move.
In the first challenge you only have to tell the robot to move and turn in order to get to its destination.
Post a screenshot of your screen upon the completion of Robot Challenge 1, part 5. To take a screenshot, hold command, shift, and 3. Then upload the screenshot to your blog.
If you haven’t already, play Save my Robotos. It will help prepare you for the next set of coding activities on Code Avengers.
The different levels in Robot Challenge 1 didn’t really get harder, they just got longer. Robot Challenge 2 actually gets more complex as it asks you to utilize new programming structures.
Robot Challenge 2 starts off pretty simple, except now you have to write a code that will get two robots to their destination. As you complete the different activities in Robot Challenge 2, you’ll be introduced to the conditional “if” statements. Your robot will even utilize a sight sensor to aid in this.
Post a screenshot of your screen upon the completion of Robot Challenge 2, part 5. To take a screenshot, hold command, shift, and 3. Then upload the screenshot to your blog.
There are two more levels of Robot Challenges on Code Avengers. These start to get pretty complicated. You might not be able to complete them all. Post a screenshot of how ever far your able to get on your blog.
Robot Challenge 3 makes use of “while” loops and more conditional “if” statements.
Robot Challenge 4 continues these concepts but also introduces another sensor (the distance sensor).