<snapdata remixID="14903962"><project name="U3L1-RobotMaze" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAGt0lEQVR4Aeyd32scVRTHTxuabWiUTSMVCzZY+mDwxZf1KWlTU7QqqKCixT9AAmKrRjD60MQfSbDFiA8GQYkl/sAXTaXSRlpNs0EoEbRPLQrtJhWbWhObZulmty3bbEo3u83OZM+dnXPvnfmGTro7M+eecz7nwy4hS+7qLL5AQCOB1YQvENBIAAJqhI/URBAQFmglAAG14kdyCAgHtBIQFXB653aSOGZffomS3V3ux23XZx7fwbqfu37h/TOPtbJzSdaX+uYrMSnFBMyJV3/kF5I4vn7gQRqs28A6TkbWsu7nrl94/7dPPsvOJVnftTN/BU9AsY6QyCoCYq+AVlFBsWIEIKAYaiQqRQAClqKCc2IEIKAYamMSGVUIBDRqHOErBgKGb+ZGdQwBjRpH+IqBgOGbuVEdQ0CjxhG+YiBg+GZuVMeiAhrVOYoxgoCYgJGtLdTf388+VCi1tbUR94jFYiqpEOORgJiAHutEeEAJQMCADtaWtiCgLZMKaJ0QMKCDtaUtCCgyKSRxIgABncjgvAgBCCiCGUmcCEBAJzI4L0IAAopgRhInAhDQiQzOixCAgCKYw5tkpc4h4EqEcN1XAmICZuKjSo2ofIDhn2iEnSu5r4f9AYbcBx7YiRYCnurYs/Cd969x5CgvwMPdmXjcQzQvVEzA6uatvMo83L3xUpodXftGBztGNeBgz0fs0FMtO9gxqgHVzc2qoew4MQHZlSEgFAQgYCjGbG6TENDc2YSisuAKGIrx2d8kBLR/hlZ3AAGtHp/9xUNA+2dodQcQ0Orx2V88BLR/hlZ3AAGtHl/J4q06CQGtGlfwihUTMDMWp/t/+lHkOB9dy96HI7m/lx/T3aXUz9Mdr7LjGo8fY8eo8k6PjYmZLiZgdVMznX7kCZFjqKePvQ/HqW2tVPvWXvax/ftDxD3uuTTPjqltf5Mdw63r1v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z8mw7te+epL7922jNGqLnnrmXBj+fomiUaOR4UktVYgJW3beF5t7vFDn+29nKzpPbGyNo9Z187ZUiDnu2ED1/foCu9L6bP7/50Bf0w8M9VD/yTv5cauMmSqVkfksiJmDNrhfpjrc7RY67jhxj51l/+Cg7RrUfqfqiu18v6qllX1/R81v1393ZQQ/1fLB07YVdlEgkRF4RiwQUyYgkYgRUP1JVU1NDjY2NInVCQBHMSOJEAAI6kcF5EQIQUAQzkjgRgIBOZHBehMANAAAA//938+yHAAAABklEQVQDAKN1g/gYTsaYAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="U3L1-RobotMaze"><notes></notes><hidden> forward turn turnLeft setHeading doFaceTowards gotoXY doGotoObject doGlide changeXPosition setXPosition changeYPosition setYPosition bounceOffEdge xPosition yPosition direction reportJSFunction reportNewCostumeSkewed reportAtan2 reportVariadicMin reportVariadicMax reportPipe receiveUserEdit getPosition reportMousePosition doDefineBlock doSetBlockAttribute doDeleteBlock reportBlockAttribute reportEnvironment receiveSlotEvent doSetSlot receiveConditionEvent reportColor reportColorAttribute reportNewColor reportPoll</hidden><headers></headers><code></code><blocks><block-definition s="Move Forward" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWait"><l>0.5</l></block><block s="forward"><block var="step"/></block></script></block-definition><block-definition s="Rotate Right" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWait"><l>0.5</l></block><block s="turn"><l>90</l></block></script></block-definition><block-definition s="Rotate Left" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWait"><l>0.5</l></block><block s="turnLeft"><l>90</l></block></script></block-definition><block-definition s="Go To Start" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="setHeading"><l>0</l></block><block s="gotoXY"><block s="reportListItem"><l>1</l><block var="Start"/></block><block s="reportListItem"><l>2</l><block var="Start"/></block></block></script></block-definition><block-definition s="Draw Square size: %&apos;size&apos; color: %&apos;Color&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%txt"></input></inputs><script><block s="setHeading"><l>90</l></block><block s="setColor"><color>230,10,0,1</color></block><block s="down"></block><block s="doRepeat"><l>4</l><script><block s="forward"><block var="size"/></block><block s="turn"><l>90</l></block></script></block><block s="doIfElse"><block s="reportVariadicEquals"><list><block var="Color"/><l>0</l></list></block><script><block s="setColor"><color>150,150,150,1</color></block></script><script><block s="setColor"><color>255,255,255,1</color></block></script></block><block s="up"></block><block s="setHeading"><l>135</l></block><block s="forward"><l>10</l></block><block s="floodFill"></block><block s="forward"><l>-10</l></block><block s="setHeading"><l>90</l></block></script></block-definition><block-definition s="Draw Board %&apos;board matrix&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><custom-block s="for %upvar = %n to %n %cs"><l>j</l><l>1</l><l>8</l><script><block s="gotoXY"><l>-160</l><block s="reportDifference"><l>160</l><block s="reportVariadicProduct"><list><block s="reportDifference"><block var="j"/><l>1</l></block><block var="step"/></list></block></block></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>8</l><script><custom-block s="Draw Square size: %n color: %txt"><block var="step"/><block s="reportListItem"><block var="i"/><block s="reportListItem"><block var="j"/><block var="board matrix"/></block></block></custom-block><block s="changeXPosition"><block var="step"/></block></script></custom-block><block s="changeYPosition"><block var="step"/></block></script></custom-block></script></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script><list></list></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script><list></list></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportVariadicEquals"><list><block var="data"/><block s="reportNewList"><list></list></block></list></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script><list></list></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script><list></list></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportVariadicGreaterThan"><list><block var="start"/><block var="end"/></list></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportVariadicLessThan"><list><block var="i"/><block var="end"/></list></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportVariadicGreaterThan"><list><block var="i"/><block var="end"/></list></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="Draw Maze 2" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Maze 3" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Maze 5" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Your Maze" type="command" category="other"><comment x="0" y="0" w="90" collapsed="false">is a procedure that clears the screen and sets step to 40. Inside the procedure itself, it creates a board matrix list with 8 rows of binary maze data where 1s are walls and 0s are paths, then calls Draw Board with this matrix and sets Start position to [140, -140]. The result is a visual maze grid drawn on screen ready for navigation.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Escape Maze 1 simple" type="command" category="other"><comment x="0" y="0" w="189" collapsed="false">Inside the procedure, the sprite first rotates left (by 90 degrees), then moves forward (a set number of steps), repeating the &quot;move forward&quot; action multiple times (about 5 times), followed by rotating right, and then another series of &quot;move forward&quot; actions (about 6 times). This sequence creates a simple path.</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Escape Maze 3 simple" type="command" category="other"><comment x="0" y="0" w="369" collapsed="false">Inside the procedure, the sprite executes a long manual sequence of movement commands: rotate left, move forward, move forward, rotate right, move forward, move forward, rotate left, move forward, move forward, rotate right, move forward, move forward, and continues with additional turns and forward moves (around 15–20 commands total). This creates a detailed, winding path with multiple left and right turns followed by short straight segments (usually 2 steps each), allowing the sprite to escape route by explicitly coding every turn and segment without loops.</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Escape Maze 5 simple" type="command" category="other"><comment x="0" y="0" w="90" collapsed="false">Arrow turns left then goes forward and repeats it for 7 times, then rotates right and moves forward 3 step. After, arrow rotates right again and moves forward 7 steps, rotates left and moves 3 steps, rotates left and moves forward repeating it 7 times. At the end arrow rotates right and moves forward for one time. &#xD;Aisholpan</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Draw Maze 1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Maze 4" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Escape Maze 3 elegant" type="command" category="other"><comment x="0" y="0" w="334" collapsed="false">Inside the procedure, the sprite loops with variable &quot;i&quot; from 3 to 4. For each &quot;i&quot; value, it rotates left (by 90 degrees), repeats moving forward &quot;i&quot; times (3 steps when i=3, 4 steps when i=4), and then rotates right (90 degrees), followed by repeating moving forward &quot;i&quot; times again. This creates an elegant variable-length path.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doFor"><l>i</l><l>3</l><l>4</l><script><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><block var="i"/><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><block var="i"/><script><custom-block s="Move Forward"></custom-block></script></block></script></block></script></block-definition><block-definition s="Escape Maze 4 simple" type="command" category="other"><comment x="0" y="0" w="90" collapsed="false">First, arrow goes forward 1 step, turns left, moves 1 step and turns right. Then arrow moves 2 steps forward, turns left, moves 2 more steps forward in his direction and turns right. Arrow repeats the same process one more time but moves 3 steps forward instead of 2 both times. Finally, after all, arow moves 1 step forward, turns left and does one more step forward. Aisholpan</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Escape Your Maze" type="command" category="other"><comment x="0" y="0" w="178.9999999999999" collapsed="false">is a procedure that creates five variables a, b, c, d, e and sets them to lists: a=[Left, Right, Left], b=[Right, Left, Right], c=[2, 2, 1], d=[7, 7, 4], e=[1]. Inside the procedure itself, it repeats 3 times: turns using direction from list a with index d, moves forward the number from list d at index e (7, 7, then 4 steps), turns using direction from list b with index d, moves forward the number from list c at index d (2, 2, then 1 step), then increments d by 1; after that it loops i from 1 to 5: turns to direction at position i in [Left, Right, Left, Right, Left] list and moves forward once. The result is a variable-length zigzag path with three main segments followed by five quick alternating turns for complex maze navigation.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>a</l><l>b</l><l>c</l><l>d</l><l>e</l></list></block><block s="doSetVar"><l>a</l><block s="reportNewList"><list><l>Left</l><l>Right</l><l>Left</l></list></block></block><block s="doSetVar"><l>b</l><block s="reportNewList"><list><l>Right</l><l>Left</l><l>Right</l></list></block></block><block s="doSetVar"><l>c</l><block s="reportNewList"><list><l>2</l><l>2</l><l>1</l></list></block></block><block s="doSetVar"><l>e</l><block s="reportNewList"><list><l>7</l><l>7</l><l>4</l></list></block></block><block s="doSetVar"><l>d</l><l>1</l></block><block s="doRepeat"><l>3</l><script><custom-block s="direction %txt"><block s="reportListItem"><block var="d"/><block var="a"/></block></custom-block><block s="doRepeat"><block s="reportListItem"><block var="d"/><block var="e"/></block><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="direction %txt"><block s="reportListItem"><block var="d"/><block var="b"/></block></custom-block><block s="doRepeat"><block s="reportListItem"><block var="d"/><block var="c"/></block><script><custom-block s="Move Forward"></custom-block></script></block><block s="doChangeVar"><l>d</l><l>1</l></block></script></block><block s="doFor"><l>i</l><l>1</l><l>5</l><script><custom-block s="direction %txt"><block s="reportListItem"><block var="i"/><block s="reportNewList"><list><l>Left</l><l>Right</l><l>Left</l><l>Right</l><l>Left</l></list></block></block></custom-block><custom-block s="Move Forward"></custom-block></script></block></script></block-definition><block-definition s="row of maze %&apos;row&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block var="row"/></block></script></block-definition><block-definition s="Escape Maze 1 elegant" type="command" category="other"><comment x="0" y="0" w="197" collapsed="false">Inside the procedure, the sprite rotates left (by 90 degrees), then repeats moving forward 7 times, followed by rotating right (90 degrees), and then repeats moving forward 7 times again. This creates an elegant detour path.</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block></script></block-definition><block-definition s="Escape Maze 1 loop" type="command" category="other"><comment x="0" y="0" w="217" collapsed="false">Inside the procedure, the sprite rotates left ( by 90 degrees), then repeats the following block twice: it repeats moving forward 7 times (creating a long straight segment) and then rotates right (90 degrees). This nested loop structure results in a looped detour path.</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>2</l><script><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block></script></block></script></block-definition><block-definition s="Escape Maze 2 simple" type="command" category="other"><comment x="0" y="0" w="367" collapsed="false">Inside the procedure, the sprite executes a long sequence of manual movement commands: it rotates left, moves forward, rotates right, moves forward, rotates left, moves forward, rotates right, and continues this alternating pattern of rotations and forward moves through many repetitions. This creates a complex, zigzag path with multiple left and right turns interspersed with forward movements, allowing the sprite to  escape route by manually coding each turn and segment without using loops.</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Escape Maze 2 elegant" type="command" category="other"><comment x="0" y="0" w="377" collapsed="false">Inside the procedure, the sprite repeats the following sequence 7 times: it rotates left ( by 90 degrees), then moves forward, followed by rotating right (90 degrees), and then moves forward again. This elegant looped structure creates a repeating zigzag or wave-like path with consistent left-right turns and forward movements, allowing the sprite to navigate a more complex maze section or escape route efficiently using repetition for a cleaner, more maintainable code compared to manual commands.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>7</l><script><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block></script></block></script></block-definition><block-definition s="Escape Maze 4 elegant" type="command" category="other"><comment x="0" y="0" w="261" collapsed="false">Inside the procedure, the sprite loops with variable &quot;i&quot; from 1 to 3. For each &quot;i&quot; value, it repeats moving forward &quot;i&quot; times, then rotates left (90 degrees), repeats moving forward &quot;i&quot; times again, and rotates right (90 degrees). After the loop completes, it performs a final sequence: rotate right, move forward, rotate left, move forward, and rotate right. This elegant variable-loop structure creates a sophisticated path with gradually increasing straight segments (1, 2, then 3 steps) between left-right turns, followed by a closing zigzag to complete the escape.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doFor"><l>i</l><l>1</l><l>3</l><script><block s="doRepeat"><block var="i"/><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><block var="i"/><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block></script></block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block></script></block-definition><block-definition s="direction %&apos;direction&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%txt" initial="1"></input></inputs><script><block s="doIfElse"><block s="reportVariadicEquals"><list><block var="direction"/><l>Left</l></list></block><script><custom-block s="Rotate Left"></custom-block></script><script><custom-block s="Rotate Right"></custom-block></script></block><block s="doReport"><l></l></block></script></block-definition><block-definition s="Escape Maze 5 elegant" type="command" category="other"><comment x="0" y="0" w="241" collapsed="false">is a procedure that gets the path length value. Inside the procedure itself, it creates four script variables a, b, c, d and sets them to lists: a=[Left, Right, Left], b=[Right, Left, Right], c=[3, 3, 1], d=[1]; then repeats 3 times: calls direction block with item d of list a (turns Left→Right→Left), repeats moving forward 7 times, calls direction with item d of list b (turns Right→Left→Right), repeats moving forward item c times (3→3→1 steps); finally changes d by 1. The result is a complex zigzag path (left-7-right-3, right-7-left-3, left-7-right-1) using parallel lists for compact and easily extensible code.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>a</l><l>b</l><l>c</l><l>d</l></list></block><block s="doSetVar"><l>a</l><block s="reportNewList"><list><l>Left</l><l>Right</l><l>Left</l></list></block></block><block s="doSetVar"><l>b</l><block s="reportNewList"><list><l>Right</l><l>Left</l><l>Right</l></list></block></block><block s="doSetVar"><l>c</l><block s="reportNewList"><list><l>3</l><l>3</l><l>1</l></list></block></block><block s="doSetVar"><l>d</l><l>1</l></block><block s="doRepeat"><l>3</l><script><custom-block s="direction %txt"><block s="reportListItem"><block var="d"/><block var="a"/></block></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="direction %txt"><block s="reportListItem"><block var="d"/><block var="b"/></block></custom-block><block s="doRepeat"><block s="reportListItem"><block var="d"/><block var="c"/></block><script><custom-block s="Move Forward"></custom-block></script></block><block s="doChangeVar"><l>d</l><l>1</l></block></script></block></script></block-definition></blocks><primitives></primitives><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="true" hyperops="true" codify="false" inheritance="false" sublistIDs="false" id="1661"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAQAElEQVR4AezZTY9UZ3YH8HNBAtOBhTeIl4k0uzD7LLKAaKxEZoEU7HU+QKJewg4h0UiEldm2krWVbLGQewFKNCPIV4iMsqfxHqZFO+muuTV4ZOPupqvuS93n3vNr1YWmqp7nOed3btVflk+EHwIECBAgQGDlAgJ45eQOJECAAAECEbkD2B1AgAABAgQGEhDAA8E7lgABAgRyCwjgvPPXOQECBAgMKCCAB8R3NAECBAjkFRDAeWefu3PdEyBAYGABATzwABxPgAABAjkFBHDOues6t4DuCRAoQEAAFzAEJRAgQIBAPgEBnG/mOiaQW0D3BAoREMCFDEIZBAgQIJBLQADnmrduCRDILaD7ggQEcEHDUAoBAgQI5BEQwHlmrVMCBAjkFiisewFc2ECUQ4AAAQI5BARwjjnrkgABAgQKE1hxABfWvXIIECBAgMBAAgJ4IHjHEiBAgEBuAQHccv7bZ+J3i17e9wurT+J/tj+Jf3u9FveKvD6J/3z9SfxXkbXNzT5RX6vZ8Gv1uft+Lf51+1T8Y8uv0NTLBXCL8c8DNar49cWd2W9LvOra/qZu769LrG1eU1XFX8aJ+IfHX21ulHjVfr/Zq+I3JdY2r0l97e4bfu389mfxV/sn4m/r7xiPhgICuCHcn5dd/MPs13/+vbS/T1377Sd10J0to66DVZy9u3Hum682Lxx8pYxnvrt+49KTR5sXy6jmYBXqO2iyzDP8ltE6+N5vHm3+tjoRrw++4plFBQTwolLeR4AAAQIEOhQQwB1i2orAUQKeJ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IECAQGMBAdyYzkICBAjkFtB9OwEB3M7PagIECBAg0EhAADdis4gAAQIEcgu0714Atze0AwECBAgQWFpAAC9NZgEBAgQIEGgvMOYAbt+9HQgQIECAwEACAnggeMcSIECAQG4BATzW+aubAAECBEYtIIBHPT7FEyBAgMBYBQTwWCeXu27dEyBAYPQCAnj0I9QAAQIECIxRQACPcWpqzi2gewIEJiEggCcxRk0QIECAwNgEBPDYJqZeArkFdE9gMgICeDKj1AgBAgQIjElAAI9pWmolQCC3gO4nJSCAJzVOzRAgQIDAWAQE8FgmpU4CBAjkFphc9wJ4ciPVEAECBAiMQUAAj2FKaiRAgACByQksFcCT675lQ1XExddr1e9bbtPb8rcPNra316rt3g5oubH62gHy49dOoN3q79eq383240K7XXKvFsAt5r////Fifxb/u/0X1f0Sr9iP7+oPyMsSa5vXpL529w0/fvPP0VDXrP7uO/F/8bzFV2j6pQJ44Vvg4Bsv/RD//qt38U+Xd2KjxOvibvz9r3bj70qsbV6T+trdN/z4zT9HQ12X3sU/X9qL/zj4zeiZRQUE8KJS3keAAAECBDoUEMAdYk55K70RIECAQLcCArhbT7sRIECAAIGFBATwQkzelFtA9wQIEOheQAB3b2pHAgQIECBwrIAAPpbIGwjkFtA9AQL9CAjgflztSoAAAQIEPioggD/K40UCBHIL6J5AfwICuD9bOxMgQIAAgSMFBPCRNF4gQIBAbgHd9ysggPv1tTsBAgQIEDhUQAAfyuJJAgQIEMgt0H/3Arh/YycQIECAAIEDAgL4AIknCBAgQIBA/wIlB3D/3TuBAAECBAgMJCCAB4J3LAECBAjkFhDApc5fXQQIECAwaQEBPOnxao4AAQIEShX4IwAAAP//5JYmnwAAAAZJREFUAwBzHBTtKsF3mAAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="1662"></list></costumes><sounds><list struct="atomic" id="1663"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="Robot" idx="1" x="140" y="-140" heading="0" scale="1.4" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="13,0,209,1" pen="middle" id="1668"><costumes><list id="1669"><item><ref mediaID="U3L1-RobotMaze_Robot_cst_arrow"></ref></item></list></costumes><sounds><list struct="atomic" id="1670"></list></sounds><blocks></blocks><variables></variables><scripts><script x="62.10000000000008" y="10"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="setColor"><color>13,0,209,1</color></block><block s="setSize"><l>5</l></block><block s="down"></block><custom-block s="Escape Your Maze"><comment w="178.9999999999999" collapsed="false">is a procedure that creates five variables a, b, c, d, e and sets them to lists: a=[Left, Right, Left], b=[Right, Left, Right], c=[2, 2, 1], d=[7, 7, 4], e=[1]. Inside the procedure itself, it repeats 3 times: turns using direction from list a with index d, moves forward the number from list d at index e (7, 7, then 4 steps), turns using direction from list b with index d, moves forward the number from list c at index d (2, 2, then 1 step), then increments d by 1; after that it loops i from 1 to 5: turns to direction at position i in [Left, Right, Left, Right, Left] list and moves forward once. The result is a variable-length zigzag path with three main segments followed by five quick alternating turns for complex maze navigation.</comment></custom-block></script><script x="253.60000000000002" y="12.666666666666629"><block s="receiveGo"></block><block s="clear"></block><custom-block s="Go To Start"></custom-block></script><script x="20.100000000000136" y="652.8333333333333"><custom-block s="Escape Maze 5 simple"><comment w="350.0000000000001" collapsed="false">Arrow turns left then goes forward and repeats it for 7 times, then rotates right and moves forward 3 step. After, arrow rotates right again and moves forward 7 steps, rotates left and moves 3 steps, rotates left and moves forward repeating it 7 times. At the end arrow rotates right and moves forward for one time. &#xD;Aisholpan</comment></custom-block></script><script x="10" y="806.9999999999995"><custom-block s="Escape Maze 5 elegant"><comment w="364" collapsed="false">is a procedure that gets the path length value. Inside the procedure itself, it creates four script variables a, b, c, d and sets them to lists: a=[Left, Right, Left], b=[Right, Left, Right], c=[3, 3, 1], d=[1]; then repeats 3 times: calls direction block with item d of list a (turns Left→Right→Left), repeats moving forward 7 times, calls direction with item d of list b (turns Right→Left→Right), repeats moving forward item c times (3→3→1 steps); finally changes d by 1. The result is a complex zigzag path (left-7-right-3, right-7-left-3, left-7-right-1) using parallel lists for compact and easily extensible code.</comment></custom-block></script><script x="620.3999999999999" y="842.333333333333"><block s="doFor"><l>i</l><l>5</l><l>7</l><script><block s="doRepeat"><block var="i"/><script><block s="doPlayNote"><block s="reportVariadicProduct"><list><block var="i"/><l>10</l></list></block><l>0.5</l></block></script></block></script><comment w="194.99999999999966" collapsed="false">This  code runs a loop with variable &quot;i&quot; from 5 to 7. Inside the loop, it plays a musical note calculated as &quot;i × 10&quot; (resulting in notes 50, 60, and 70) for 0.5 beats each time. This creates a short ascending three-note melody sequence using mid-range pitches.</comment></block></script><script x="617.3999999999999" y="699.9999999999999"><block s="doFor"><l>i</l><l>1</l><l>4</l><script><block s="doSayFor"><block s="reportLetter"><block var="i"/><l>leet</l></block><l>1</l></block></script><comment w="244" collapsed="false">This code runs a loop with variable &quot;i&quot; from 1 to 4. Inside the loop, it says the letter at position &quot;i&quot; of the word &quot;leet&quot; for 1 second each time. This sequentially displays &quot;l&quot; (position 1), &quot;e&quot; (position 2), &quot;e&quot; (position 3), and &quot;t&quot; (position 4), effectively spelling out &quot;leet&quot; one letter at a time with a 1-second pause between each.</comment></block></script><script x="986.1000000000001" y="617.8333333333337"><custom-block s="Escape Maze 4 elegant"><comment w="261" collapsed="false">Inside the procedure, the sprite loops with variable &quot;i&quot; from 1 to 3. For each &quot;i&quot; value, it repeats moving forward &quot;i&quot; times, then rotates left (90 degrees), repeats moving forward &quot;i&quot; times again, and rotates right (90 degrees). After the loop completes, it performs a final sequence: rotate right, move forward, rotate left, move forward, and rotate right. This elegant variable-loop structure creates a sophisticated path with gradually increasing straight segments (1, 2, then 3 steps) between left-right turns, followed by a closing zigzag to complete the escape.</comment></custom-block></script><script x="1004.1000000000001" y="455.8333333333337"><custom-block s="Escape Maze 4 simple"><comment w="234" collapsed="false">First, arrow goes forward 1 step, turns left, moves 1 step and turns right. Then arrow moves 2 steps forward, turns left, moves 2 more steps forward in his direction and turns right. Arrow repeats the same process one more time but moves 3 steps forward instead of 2 both times. Finally, after all, arow moves 1 step forward, turns left and does one more step forward. Aisholpan</comment></custom-block></script><script x="921.1000000000001" y="344.8333333333335"><custom-block s="Escape Maze 3 elegant"><comment w="334" collapsed="false">Inside the procedure, the sprite loops with variable &quot;i&quot; from 3 to 4. For each &quot;i&quot; value, it rotates left (by 90 degrees), repeats moving forward &quot;i&quot; times (3 steps when i=3, 4 steps when i=4), and then rotates right (90 degrees), followed by repeating moving forward &quot;i&quot; times again. This creates an elegant variable-length path.</comment></custom-block></script><script x="890.0999999999999" y="191.83333333333337"><custom-block s="Escape Maze 3 simple"><comment w="369" collapsed="false">Inside the procedure, the sprite executes a long manual sequence of movement commands: rotate left, move forward, move forward, rotate right, move forward, move forward, rotate left, move forward, move forward, rotate right, move forward, move forward, and continues with additional turns and forward moves (around 15–20 commands total). This creates a detailed, winding path with multiple left and right turns followed by short straight segments (usually 2 steps each), allowing the sprite to escape route by explicitly coding every turn and segment without loops.</comment></custom-block></script><script x="891" y="54.16666666666674"><custom-block s="Escape Maze 2 elegant"><comment w="377" collapsed="false">Inside the procedure, the sprite repeats the following sequence 7 times: it rotates left ( by 90 degrees), then moves forward, followed by rotating right (90 degrees), and then moves forward again. This elegant looped structure creates a repeating zigzag or wave-like path with consistent left-right turns and forward movements, allowing the sprite to navigate a more complex maze section or escape route efficiently using repetition for a cleaner, more maintainable code compared to manual commands.</comment></custom-block></script><script x="451" y="466.16666666666686"><custom-block s="Escape Maze 2 simple"><comment w="367" collapsed="false">Inside the procedure, the sprite executes a long sequence of manual movement commands: it rotates left, moves forward, rotates right, moves forward, rotates left, moves forward, rotates right, and continues this alternating pattern of rotations and forward moves through many repetitions. This creates a complex, zigzag path with multiple left and right turns interspersed with forward movements, allowing the sprite to  escape route by manually coding each turn and segment without using loops.</comment></custom-block></script><script x="460" y="312.16666666666663"><custom-block s="Escape Maze 1 loop"><comment w="217" collapsed="false">Inside the procedure, the sprite rotates left ( by 90 degrees), then repeats the following block twice: it repeats moving forward 7 times (creating a long straight segment) and then rotates right (90 degrees). This nested loop structure results in a looped detour path.</comment></custom-block></script><script x="430" y="177.16666666666697"><custom-block s="Escape Maze 1 elegant"><comment w="197" collapsed="false">Inside the procedure, the sprite rotates left (by 90 degrees), then repeats moving forward 7 times, followed by rotating right (90 degrees), and then repeats moving forward 7 times again. This creates an elegant detour path.</comment></custom-block></script><script x="426" y="29"><custom-block s="Escape Maze 1 simple"><comment w="189" collapsed="false">Inside the procedure, the sprite first rotates left (by 90 degrees), then moves forward (a set number of steps), repeating the &quot;move forward&quot; action multiple times (about 5 times), followed by rotating right, and then another series of &quot;move forward&quot; actions (about 6 times). This sequence creates a simple path.</comment></custom-block></script><script x="49.00000000000003" y="531.5000000000006"><custom-block s="direction %txt"><l></l><comment w="262" collapsed="false">Inside the block, it checks if the input equals &quot;Left&quot;: if yes, it rotates the sprite left; otherwise (else), it rotates the sprite right. This allows conditional rotation based on a direction parameter, useful for controlling sprite orientation in games or animations.</comment></custom-block></script><script x="11.733333333333292" y="467.4666666666669"><custom-block s="Rotate Right"></custom-block></script><script x="14.733333333333348" y="402.1999999999998"><custom-block s="Go To Start"></custom-block></script><script x="138.60000000000002" y="400.73333333333323"><custom-block s="Move Forward"></custom-block></script><script x="140.89999999999998" y="465.5999999999999"><custom-block s="Rotate Left"></custom-block></script></scripts></sprite><sprite name="Board" idx="2" x="160" y="-80" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="255,255,255,1" pen="tip" id="1734"><costumes><list id="1735"><item><ref mediaID="U3L1-RobotMaze_Board_cst_Untitled"></ref></item></list></costumes><sounds><list struct="atomic" id="1736"></list></sounds><blocks></blocks><variables></variables><scripts><script x="16.666666666666686" y="13.333333333333343"><block s="receiveGo"></block><block s="clear"></block><block s="doWait"><l>0.5</l></block><custom-block s="Draw Your Maze"><comment w="90" collapsed="false">Draws my specific maze</comment></custom-block></script><script x="193.66666666666674" y="32.166666666666686"><custom-block s="Draw Maze 1"><comment w="90" collapsed="false">Draws a specific maze</comment></custom-block></script><script x="423.66666666666674" y="27.166666666666686"><custom-block s="Draw Maze 2"><comment w="90" collapsed="false">Draws a specific maze</comment></custom-block></script><script x="459.66666666666674" y="133.16666666666669"><custom-block s="Draw Maze 4"><comment w="90" collapsed="false">Draws a specific maze</comment></custom-block></script><script x="233.66666666666674" y="258.1666666666667"><custom-block s="Draw Maze 5"><comment w="90" collapsed="false">Draws a specific maze</comment></custom-block></script><script x="237.66666666666674" y="136.16666666666669"><custom-block s="Draw Maze 3"><comment w="90" collapsed="false">Draws a specific maze</comment></custom-block></script></scripts></sprite><watcher var="step" style="normal" x="9.687500000000227" y="9.687500000000007" color="243,118,29" hidden="true"/><watcher var="Start" style="normal" x="9.687500000000227" y="30.031251937499974" color="243,118,29" hidden="true"/><watcher var="i" style="normal" x="10" y="10" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="step"><l>40</l></variable><variable name="Start"><list struct="atomic" id="1754">140,-140</list></variable><variable name="board matrix"><list id="1755"><item><list struct="atomic" id="1756">1,1,0,0,0,0,0,0</list></item><item><list struct="atomic" id="1757">0,1,1,0,0,0,0,0</list></item><item><list struct="atomic" id="1758">0,0,1,1,0,0,0,0</list></item><item><list struct="atomic" id="1759">0,0,0,1,1,1,1,1</list></item><item><list struct="atomic" id="1760">0,0,0,0,0,0,0,1</list></item><item><list struct="atomic" id="1761">1,1,1,1,1,1,1,1</list></item><item><list struct="atomic" id="1762">1,0,0,0,0,0,0,0</list></item><item><list struct="atomic" id="1763">1,1,1,1,1,1,1,1</list></item></list></variable><variable name="i"><l>21</l></variable></variables></scene></scenes></project><media name="U3L1-RobotMaze" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"><costume name="arrow" center-x="16" center-y="16" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABzklEQVR4AeyVMUvDQBTH7wQ3P4ebtCB1c6zFfIFMRRqC4CAaDeogLuIgJhIUBy0RpUtxcWql4upSpIvUguBX6F4oPPtOLvSSpk3saTsE8ri73Lv3/+WfS26GEAK9mNQFCEAnpd7TpQjQayd3JQCJA9PhQD6fh3Q6DZqmQblc/tf/AnOgVCrRTqdD2u02OTpRyfwCAI9qtfqnQAwA/wKtVot+fD1iV4jt/VUBSJiUMPAAsNbV+Qs2Q4M7g61t22O7IwBks1m6vmYPBeifvL7bEdwpFouxgQQALG6aJl1e0rEbO84udAEoyoYOAKCq67pSDij/hq5UKgGHBgIgxOc7lQKBtXgYBwpJpVKQyWTAcRwGEwrAF8luu90uoZQSAKZPQgFwl8sWd06fSLPZpPV6nRqGwRweCFAoFH7wxiQ4Pnwg+Cp5KIrCRPvLBgAsy4LXt9v+nMj9vS1XEFRVNSDoLyYA1Go1uLnf9eeEjjc0RxDUdX2koL+YALBprvjnA2NuJ7b8PQaSYtzwAMI23aX1LDxljNqRUhkAHsdzs4veAnw6HrlcLratXqEIHQaAx3Gj0aBcNMI6aSkMQFq1XxRKABIHpsIBKQdP2Acw4j58AwAA//+3YJpZAAAABklEQVQDAOTnvT+k34bsAAAAAElFTkSuQmCC" mediaID="U3L1-RobotMaze_Robot_cst_arrow"/><costume name="Untitled" center-x="240" center-y="180" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAQAElEQVR4AezVC27kNhAEUCP3P3SC/NZeez6SSDWb9YJg1zsjkV2vDdQfH/4jQIAAAQIEbhdQwLeTu5AAAQIECHx8ZBew3wACBAgQIFAkoICL4F1LgAABAtkCCjh3/5ITIECAQKGAAi7EdzUBAgQI5Aoo4NzdZyeXngABAsUCCrh4Aa4nQIAAgUwBBZy5d6mzBaQnQGABAQW8wBKMQIAAAQJ5Ago4b+cSE8gWkJ7AIgIKeJFFGIMAAQIEsgQUcNa+pSVAIFtA+oUEFPBCyzAKAQIECOQIKOCcXUtKgACBbIHF0ivgxRZiHAIECBDIEFDAGXuWkgABAgQWE7i5gBdLbxwCBAgQIFAkoICL4F1LgAABAtkCCvj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