Robot Challenge: Sumo Core

Challenge Description
Robot Challenge Description: Sumo Core.
Find and push the object (opponent) out of the ring using a single ultrasonic sensor while staying in the ring using a single light sensor.
– randomise reversing direction
– randomise the scan direction.
– continuously moves without stopping for more than 1 second
– always stays inside the ring
– never drives completely over the ring line
– reverses first when over the line so that it’s back end doesn’t go outside the ring