Getting Unstuck Day 9 Create a project that involves the touching color blocks in the Sensing category (i.e., touching color? and color is touching?). Just run the project and the ball will use simple rules to travel around the uncoloured track.
I have been thinking about line following robots. Seemed like the perfect opportunity to try out very simple rules, eg move forwards; if touching red turn right; if touching blue turn left. Seems to work surprisingly well. I like the idea that Scratch could be used to prototype real world robot algorithms. I started with Scratch Cat rather than a ball, but extremities would "catch" on the colours and lead to twirling and getting stuck. I'd like to experiment further with different angles and number of steps. Maybe with a timer to see how fast the ball completes the track. This could be automated to determine the best parameters. More complex tracks would be fun. And maybe a player controller car to race the computer controlled (AI?) ball.