Skip to main content

Castle Crasher
Lesson 4: Creating Algorithms


In this Lesson, you will learn about the Optical Sensor, and how you can use sensor feedback to optimize your strategy and your code for playing Castle Crasher. You will also learn how to create an algorithm to code your robot to autonomously find cubes and complete the Sweep the Field Challenge.

Video file

Select Next > to learn about the Optical Sensor and how you can use sensor feedback and algorithms to code your robot to find and push cubes off a field.