Simulator Challenge: Stay in Ring Beginner

Stay in Ring thumbnail

Challenge Description

Challenge Description: Stay in Ring Beginner – eBot is on a white circle with a black outside ring and must stay inside the black ring using the LHS light sensor.

Code the eBot sprite so that eBot behaves as below:
– continuously moves without stopping for more than 1 second
– always stays inside the black ring
– never drives completely over the black ring line
– reverses first when over the black line so that it’s back end doesn’t go outside the black ring

Flowchart

Project Flowchart

Submission