CHALLENGE 1: Your robot is a baseball player. Program the robot to go around the baseball diamond.
1. What should you do?
Pseudocode uses English to describe the detailed steps that your robot should perform. The pseudocode for this challenge is below.
Step 1: Move forward 10 inches
Step 2: Turn left 90 degrees
Step 3: Move forward 10 inches
Step 4: Turn left 90 degrees
Step 5: Move forward 10 inches
Step 6: Turn left 90 degrees
Step 7: Move forward 10 inches
Pseudocode gives you a good start towards writing the code for your program.
2. Did your code work? Explain.
3. Did you use port view? How did it help?
CHALLENGE 2: Your robot is a baseball player. The robot has to run from one base to the next. Oh no! He’s going to be tagged out. So he has to turn around and run back to the previous base!
What should you do?
2. What type of turn did you use and what was the result? Make sure you test both PIVOT and SPIN turns.
3. What type of turn gets you back to the base as close as possible? Explain.