Summary: Today we started working on our Tower of Triangles assignment.
Homework: none
Let me tell you about my favorite person. I am in love with her. All my friends think I am crazy but they don’t understand. We all agree that she is brilliant, but they think she is too good for me. She doesn’t agree with them. She tells me she thinks we are a great match, and that anyone who disagrees is kidding themselves. These are the are the things that I like about her.
Summary: You should have completed all of the current Programming Challenges by Monday. This include Program Challenge #17 .
Homework: Program Challenge #17
Challenges list below…
Choices for “direction” are…
Example Code…
if(CAN_MOVE(“right”)){
ROTATE_RIGHT();
MOVE_FORWARD();
}
Write one code that can guide the robot from the top left square to the bottom right square no matter which of the 6 situations the robot finds itself in.
You can test your code here. *
When completing your code challenges keep in mind the four characteristics of quality code…
Or put another way…
Submit Your Programming Challenges here. Please make sure your challenge meets all of the requirements before submitting. Also please make sure your app is titled “Programming Challenge #__” to make it extra clear which challenge you have completed.
A parameter is a value that you can input into a command or function to change how that function operates. For example, if you call turnLeft() the turtle will turn 90° but if you call turnLeft(30) the turtle will only turn left 30°. Click here to see an example in action.
When completing your code challenges keep in mind the four characteristics of quality code…
Or put another way…
Submit Your Turtle Challenges here. Please make sure your challenge meets all of the requirements before submitting. Also please make sure your app is titled “Turtle #__” to make it extra clear which challenge you have completed.
A “for loop” can help you loop your code. Read more about For Loops here.
You can put loops inside of other loops but be careful to use different letters for each loop (see below)