Color Sensor

The Color Sensor has two main functionalities:

For Sumo Challenge, we can concentrate only on the color detection function.

Is Color Block

You can use the following block in an If/Else or Wait Until style blocks - anything that requires a boolean True/False:

If you look back at the general Sumo algorithm (see Overview) you should be able to get a sense of how this can be used.