Castle Crasher
Lesson 4: Creating Algorithms

Compete

Now that you have learned how to code your robot to autonomously push Buckyballs off of a raised Field, you are ready for the Sweep the Field challenge activity.

The goal of this challenge is to clear four Buckyballs from the Field in the fastest possible time. The animation below shows how the Field should be set up, and one possible path to clear the Buckyballs from the Field. The robot that clears the Buckyballs the fastest wins. Follow the steps in this document to complete the Sweep the Field challenge.

Video file

Once you have completed the Sweep the Field challenge activity, check in with your teacher. Ensure you have documented the results of the challenge in your engineering notebook.

Wrap Up Reflection

Now that you have created a strategy and competed in the Sweep the Field challenge, it is time to reflect on what you have learned and done in this Lesson. Start a new page in your engineering notebook to begin your reflection.

Rate yourself as a novice, apprentice, or expert on each of the following concepts in your engineering notebook. Provide a brief explanation for why you gave yourself that rating for each concept:

• Using the sensors in a VEXcode EXP project
• Creating an algorithm using the Distance and Optical Sensors
• Collaborating with my team members to improve the robot's performance in the Sweep the Field challenge

Use this table to help you determine which category you fall under.

 Expert I feel that I fully understood the concept and could teach this to someone else. Apprentice I feel that I understood the concept enough to compete in the challenge. Novice I feel that I did not understand the concept and do not know how to complete the challenge.

What is Next?

In this Lesson, you added the Optical Sensor to your robot, and coded an algorithm to clear Buckyballs from the Field. Now it is time to compete in the Castle Crasher Competition!

In the next Lesson, you will:

• Go over the rules of the competition
• Develop a game strategy
• Compete in the Castle Crasher Competition!

Select < Return to Lessons to go back to the Lesson Overview.

Select Next Lesson > to continue to Lesson 5 and learn how to participate in the Castle Crasher Competition!