ScratchData LogoScratchData
Back to star-kwafie's profile

Door-finding robot

STstar-kwafie•Created January 18, 2016
Door-finding robot
49
31
913 views
View on Scratch

Instructions

A robot that tries to find the "door"—the break in the black rectangle. It does this first by trying to go in every direction, and removing the directions that don't work from of its list of directions. The second time, it just picks a direction randomly and goes there. For both times, it records how many tries it took to find the door.

Description

I conjecture that if you ran this program tons and tons of times (we're talking thousands), on average it would take the robot less tries to find the door through the first method. Simple, yes, but I find it interesting.

Project Details

Project ID94566558
CreatedJanuary 18, 2016
Last ModifiedFebruary 17, 2016
SharedJanuary 18, 2016
Visibilityvisible
CommentsDisabled