<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Robert,<div>My solution was simpler than yours, but along the same lines…</div><div><br></div><div>That is interesting about not printing lists… We will look into this…</div><div><br></div><div>All the best,</div><div>Don Slater</div><div><br><div><div>On Apr 6, 2014, at 8:00 AM, Robert Durtschi &lt;<a href="mailto:robert.durtschi@gcsu.edu">robert.durtschi@gcsu.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><div style="margin-top: 0px; margin-bottom: 0px;">You<span class="Apple-converted-space">&nbsp;</span><strong>should<span class="Apple-converted-space">&nbsp;</span></strong>be able to create a certain amount of "chaos" using a list...</div><p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p><div style="margin-top: 0px; margin-bottom: 0px;">Unfortunately my school's email insists on deleting non-text attachments (outlook: A non-text attachment was scrubbed...), so I don't know if my solution is the same as Don's.&nbsp; I did a short (4 mice list) demo using a "for all together".&nbsp; It might look better with a "for all in order" ...</div><p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p><div style="margin-top: 0px; margin-bottom: 0px;">I included both "for all together" and "for all in order" in the demo and added a lamppost and a distance check so they didn't just disappear off the edge of the screen.</div><p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p><div style="margin-top: 0px; margin-bottom: 0px;">The variable "fubar" is there because the current version of Alice 2.x (they're working on it)&nbsp;doesn't allow a number function (distance to) to be dragged onto the "true" of an "if...else", but you<span class="Apple-converted-space">&nbsp;</span><strong>can<span class="Apple-converted-space">&nbsp;</span></strong>drag a number<span class="Apple-converted-space">&nbsp;</span><strong>variable</strong>, make the necessary changes, then drag the "distance to" function on top of the variable name to replace it. You can remove the variable after you adjust the code. (fubar - fouled up beyond all recognition" has a long and hallowed tradition among programmers)</div><p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p><div style="margin-top: 0px; margin-bottom: 0px;">As far as I know I can send attachments just fine... I'll include the html listing here just in case:</div><p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p><table width="100%" cellspacing="0" cellpadding="2"><tbody><tr><td bgcolor="#ffffd2" colspan="6" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;"><strong>world.my first method</strong>&nbsp;(&nbsp;)<span class="Apple-converted-space">&nbsp;</span><br>&nbsp;&nbsp;&nbsp;&nbsp;<strong>mice</strong><span class="Apple-converted-space">&nbsp;</span><strong>= [mouse, mouse1, mouse2, mouse3]</strong><span class="Apple-converted-space">&nbsp;</span><strong>,</strong><span class="Apple-converted-space">&nbsp;</span><strong>fubar</strong><span class="Apple-converted-space">&nbsp;</span><strong>=<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>1</strong></span></td></tr><tr><td width="20" bgcolor="#ffffd2" rowspan="39" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td bgcolor="#ddf9f9" colspan="5" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>Loop</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>5<span class="Apple-converted-space">&nbsp;</span></strong>times</span><span class="Apple-converted-space">&nbsp;</span><strong>times</strong></td></tr><tr><td width="20" bgcolor="#ddf9f9" rowspan="9" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td bgcolor="#f8ddff" colspan="4" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>For all</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>, every</strong><span class="Apple-converted-space">&nbsp;</span><strong>item_from_mice</strong><span class="Apple-converted-space">&nbsp;</span><strong>together</strong></td></tr><tr><td width="20" bgcolor="#f8ddff" rowspan="8" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="100%" bgcolor="#ffffff" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<strong>//<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>turn left -1 revolution is the same as turn right 1 revolution</strong></span></td></tr><tr><td width="100%" bgcolor="#ffe6b4" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>turn<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>left</strong></span><span class="Apple-converted-space">&nbsp;</span>(<span class="Apple-converted-space">&nbsp;</span><strong>random number</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">minimum =<span class="Apple-converted-space">&nbsp;</span><strong>-1</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">maximum =<span class="Apple-converted-space">&nbsp;</span><strong>1</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td width="100%" bgcolor="#ffffff" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<strong>//<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>Don't let them wander away too far</strong></span></td></tr><tr><td bgcolor="#cceedd" colspan="3" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>If</strong><span class="Apple-converted-space">&nbsp;</span>( (<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>distance to<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>lampPost</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><strong>&gt;</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>3</strong></span><span class="Apple-converted-space">&nbsp;</span>)<strong></strong></td></tr><tr><td width="20" bgcolor="#cceedd" rowspan="1" style="border-left-color: rgb(192, 192, 192); border-left-width: 1px; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="100%" bgcolor="#ffe6b4" colspan="2" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>turn to face<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>lampPost</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td bgcolor="#cceedd" colspan="3" style="border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>Else</strong></td></tr><tr><td width="20" bgcolor="#cceedd" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;</td><td bgcolor="#cceedd" colspan="2" style="border-right-color: rgb(192, 192, 192); border-bottom-color: rgb(192, 192, 192); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><em>Do Nothing</em></td></tr><tr><td width="100%" bgcolor="#ffe6b4" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>move<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>forward</strong></span><span class="Apple-converted-space">&nbsp;</span>(<span class="Apple-converted-space">&nbsp;</span><strong>random number</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">minimum =<span class="Apple-converted-space">&nbsp;</span><strong>1</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">maximum =<span class="Apple-converted-space">&nbsp;</span><strong>2</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0.25<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td width="100%" bgcolor="#ffe6b4" colspan="5" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<strong>Wait<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>2<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td bgcolor="#ddf9f9" colspan="5" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>Loop</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>5<span class="Apple-converted-space">&nbsp;</span></strong>times</span><span class="Apple-converted-space">&nbsp;</span><strong>times</strong></td></tr><tr><td width="20" bgcolor="#ddf9f9" rowspan="10" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td bgcolor="#ffe6e6" colspan="4" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>For all</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>, one</strong><span class="Apple-converted-space">&nbsp;</span><strong>item_from_mice</strong><span class="Apple-converted-space">&nbsp;</span><strong>at a time</strong></td></tr><tr><td width="20" bgcolor="#ffe6e6" rowspan="9" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="100%" bgcolor="#ffe6b4" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>turn<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>left</strong></span><span class="Apple-converted-space">&nbsp;</span>(<span class="Apple-converted-space">&nbsp;</span><strong>random number</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">minimum =<span class="Apple-converted-space">&nbsp;</span><strong>-1</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">maximum =<span class="Apple-converted-space">&nbsp;</span><strong>1</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td width="100%" bgcolor="#ffffff" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<strong>//<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>Don't let them wander away too far</strong></span></td></tr><tr><td bgcolor="#cceedd" colspan="3" style="border-top-color: rgb(192, 192, 192); border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>If</strong><span class="Apple-converted-space">&nbsp;</span>( (<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>distance to<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>lampPost</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><strong>&gt;</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);"><strong>3</strong></span><span class="Apple-converted-space">&nbsp;</span>)<strong></strong></td></tr><tr><td width="20" bgcolor="#cceedd" rowspan="3" style="border-left-color: rgb(192, 192, 192); border-left-width: 1px; border-left-style: solid;">&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="100%" bgcolor="#ffe6b4" colspan="2" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>turn to face<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>lampPost</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td width="100%" bgcolor="#ffffff" colspan="2" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<strong>//<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>They end up facing the pole a lot. move them to one side or the other.</strong></span></td></tr><tr><td width="100%" bgcolor="#ffe6b4" colspan="2" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>turn<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>left</strong></span><span class="Apple-converted-space">&nbsp;</span>(<span class="Apple-converted-space">&nbsp;</span><strong>random number</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">minimum =<span class="Apple-converted-space">&nbsp;</span><strong>-0.1</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">maximum =<span class="Apple-converted-space">&nbsp;</span><strong>0.1</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr><tr><td bgcolor="#cceedd" colspan="3" style="border-right-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid;">&nbsp;&nbsp;<strong>Else</strong></td></tr><tr><td width="20" bgcolor="#cceedd" style="border-bottom-color: rgb(192, 192, 192); border-left-color: rgb(192, 192, 192); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">&nbsp;</td><td bgcolor="#cceedd" colspan="2" style="border-right-color: rgb(192, 192, 192); border-bottom-color: rgb(192, 192, 192); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><em>Do Nothing</em></td></tr><tr><td width="100%" bgcolor="#ffe6b4" colspan="3" style="border: 1px solid rgb(192, 192, 192);">&nbsp;&nbsp;<span style="background-color: rgb(240, 240, 255);"><strong>item_from_mice</strong></span><span class="Apple-converted-space">&nbsp;</span><strong>move<span class="Apple-converted-space">&nbsp;</span></strong><span style="background-color: rgb(240, 240, 255);"><strong>forward</strong></span><span class="Apple-converted-space">&nbsp;</span>(<span class="Apple-converted-space">&nbsp;</span><strong>random number</strong><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">minimum =<span class="Apple-converted-space">&nbsp;</span><strong>1</strong></span><span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">maximum =<span class="Apple-converted-space">&nbsp;</span><strong>2</strong></span><span class="Apple-converted-space">&nbsp;</span>)<span class="Apple-converted-space">&nbsp;</span><span style="background-color: rgb(240, 240, 255);">duration =<span class="Apple-converted-space">&nbsp;</span><strong>0.25<span class="Apple-converted-space">&nbsp;</span></strong>seconds</span></td></tr></tbody></table><div style="margin-top: 0px; margin-bottom: 0px;"><span>Note to Don: Apparently the "export code for printing" function doesn't handle lists. I had to edit the html and add the "[mouse, mouse1, mouse2, mouse3]"</span></div><p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p><div style="margin-top: 0px; margin-bottom: 0px;"><span>Best</span></div><div style="margin-top: 0px; margin-bottom: 0px;"><span>Bob Durtschi</span></div><div style="margin-top: 0px; margin-bottom: 0px;">________________________________________</div><div style="margin-top: 0px; margin-bottom: 0px;">From:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:alice-teachers-bounces+robert.durtschi=gcsu.edu@lists.andrew.cmu.edu">alice-teachers-bounces+robert.durtschi=gcsu.edu@lists.andrew.cmu.edu</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:alice-teachers-bounces+robert.durtschi=gcsu.edu@lists.andrew.cmu.edu">alice-teachers-bounces+robert.durtschi=gcsu.edu@lists.andrew.cmu.edu</a>&gt; on behalf of<span class="Apple-converted-space">&nbsp;</span><a href="mailto:alice-teachers-request@lists.andrew.cmu.edu">alice-teachers-request@lists.andrew.cmu.edu</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:alice-teachers-request@lists.andrew.cmu.edu">alice-teachers-request@lists.andrew.cmu.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Sent: Wednesday, April 02, 2014 2:35 PM</div><div style="margin-top: 0px; margin-bottom: 0px;">To:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a></div><div style="margin-top: 0px; margin-bottom: 0px;">Subject: alice-teachers Digest, Vol 45, Issue 3</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Today's Topics:</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">&nbsp;&nbsp; 1. Re:&nbsp; Random Movement problem (James Vanderhyde)</div><div style="margin-top: 0px; margin-bottom: 0px;">&nbsp;&nbsp; 2. Re:&nbsp; Random Movement problem (Don Slater)</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">----------------------------------------------------------------------</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Message: 1</div><div style="margin-top: 0px; margin-bottom: 0px;">Date: Wed, 2 Apr 2014 17:14:51 +0000</div><div style="margin-top: 0px; margin-bottom: 0px;">From: James Vanderhyde &lt;<a href="mailto:jvanderhyde@benedictine.edu">jvanderhyde@benedictine.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Subject: Re: alice-teacher Random Movement problem</div><div style="margin-top: 0px; margin-bottom: 0px;">To: Alice educators &lt;<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a>&gt;, Eric</div><div style="margin-top: 0px; margin-bottom: 0px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hillstrom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:ehillstrom@durango.k12.co.us">ehillstrom@durango.k12.co.us</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Message-ID: &lt;<a href="mailto:89E55CD5-BA2F-4C38-8EF9-26368AA34A29@benedictine.edu">89E55CD5-BA2F-4C38-8EF9-26368AA34A29@benedictine.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Content-Type: text/plain; charset="windows-1252"</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">If you?re using Alice 2, I think it will be difficult to achieve exactly what the student wants. Because Alice 2 does not support polymorphism, it will be difficult to get much advantage from putting them in a list. You would only be able to use the built-in movement methods and functions.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">I think it might be better to create a few different movement actions that by themselves do not look random, but when used by 10 different objects at the same time looks like chaos. I have had students do this. Your student wants order out of the chaos, which is more difficult, but I think it could be achieved this way. For example, one mouse can move forward 6, wait 1 second, move forward 3. Another mouse can move forward 7, wait 0.8 seconds, move forward 2. Then put all the moves in a do together block.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Alice 3 may have more capability, but I haven?t used it yet.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">James</div><div style="margin-top: 0px; margin-bottom: 0px;">--</div><div style="margin-top: 0px; margin-bottom: 0px;">Dr. James Vanderhyde</div><div style="margin-top: 0px; margin-bottom: 0px;">Math and Computer Science</div><div style="margin-top: 0px; margin-bottom: 0px;">Benedictine College</div><div style="margin-top: 0px; margin-bottom: 0px;"><a href="mailto:jvanderhyde@benedictine.edu">jvanderhyde@benedictine.edu</a>&lt;<a href="mailto:jvanderhyde@benedictine.edu">mailto:jvanderhyde@benedictine.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;"><a href="http://vanderhyde.us/~james/pro/" target="_blank">http://vanderhyde.us/~james/pro/</a></div><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">On Apr 1, 2014, at 12:05 PM, Eric Hillstrom &lt;<a href="mailto:ehillstrom@durango.k12.co.us">ehillstrom@durango.k12.co.us</a>&lt;<a href="mailto:ehillstrom@durango.k12.co.us">mailto:ehillstrom@durango.k12.co.us</a>&gt;&gt; wrote:</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">&gt;From a student</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Question:</div><div style="margin-top: 0px; margin-bottom: 0px;">I have taken a simple story with a medieval theme and am bringing it to life.</div><div style="margin-top: 0px; margin-bottom: 0px;">I want to have 10 mice move around in swarm/scurry fashion the world to make it look like they are protecting a castle.&nbsp; How do I do this?&nbsp; Should I make a list and somehow use a proximity function?&nbsp; How do I make it look random in nature to simulate mice scurrying around?</div><div style="margin-top: 0px; margin-bottom: 0px;">--</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Eric Hillstrom</div><div style="margin-top: 0px; margin-bottom: 0px;">Teacher, CTE/Technology</div><div style="margin-top: 0px; margin-bottom: 0px;">Durango High School</div><div style="margin-top: 0px; margin-bottom: 0px;">970-259-1630 x2204</div><div style="margin-top: 0px; margin-bottom: 0px;">_______________________________________________</div><div style="margin-top: 0px; margin-bottom: 0px;">alice-teachers mailing list</div><div style="margin-top: 0px; margin-bottom: 0px;"><a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a>&lt;<a href="mailto:alice-teachers@lists.andrew.cmu.edu">mailto:alice-teachers@lists.andrew.cmu.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;"><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">-------------- next part --------------</div><div style="margin-top: 0px; margin-bottom: 0px;">An HTML attachment was scrubbed...</div><div style="margin-top: 0px; margin-bottom: 0px;">URL:<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/9932b947/attachment-0001.html" target="_blank">http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/9932b947/attachment-0001.html</a></div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">------------------------------</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Message: 2</div><div style="margin-top: 0px; margin-bottom: 0px;">Date: Wed, 2 Apr 2014 14:35:46 -0400</div><div style="margin-top: 0px; margin-bottom: 0px;">From: Don Slater &lt;<a href="mailto:dslater@andrew.cmu.edu">dslater@andrew.cmu.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Subject: Re: alice-teacher Random Movement problem</div><div style="margin-top: 0px; margin-bottom: 0px;">To: Alice Teachers &lt;<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Message-ID: &lt;<a href="mailto:5B233908-FE00-4D14-BD0F-2786E121EDCB@andrew.cmu.edu">5B233908-FE00-4D14-BD0F-2786E121EDCB@andrew.cmu.edu</a>&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">Content-Type: text/plain; charset="windows-1252"</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">See the attached screen shot and Alice world, ?mouseScurrying"?</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">I created a list of the 10 mice as a world variable, and used the For All together construct inside of the Loop construct.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">I used a mouse turn and a mouse move command, and used the world?s random function to set the amount of the turn and the amount of the distance moved. The random? function has a ?more?option for setting the min and max of the range of random values.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Then replace ?mouse? in the turn and move methods with the ?item from list? tile.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">James is correct that if the student has an animation method for moving the legs of the mouse, they will not be able to use that method in this structure?</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">(Alice 3 does have similar control structures, and an animation procedural method would be usable there.)</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">The student may want to add appropriate checks to make sure the mice do not get too far away from or too close to the castle, but this example should give them a place to start.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">Let me know if you have any questions.</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">All the best,</div><div style="margin-top: 0px; margin-bottom: 0px;">Don Slater</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">On Apr 2, 2014, at 1:14 PM, James Vanderhyde &lt;<a href="mailto:jvanderhyde@benedictine.edu">jvanderhyde@benedictine.edu</a>&gt; wrote:</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">&gt; If you?re using Alice 2, I think it will be difficult to achieve exactly what the student wants. Because Alice 2 does not support polymorphism, it will be difficult to get much advantage from putting them in a list. You would only be able to use the built-in movement methods and functions.</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; I think it might be better to create a few different movement actions that by themselves do not look random, but when used by 10 different objects at the same time looks like chaos. I have had students do this. Your student wants order out of the chaos, which is more difficult, but I think it could be achieved this way. For example, one mouse can move forward 6, wait 1 second, move forward 3. Another mouse can move forward 7, wait 0.8 seconds, move forward 2. Then put all the moves in a do together block.</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; Alice 3 may have more capability, but I haven?t used it yet.</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; James</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; --</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; Dr. James Vanderhyde</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; Math and Computer Science</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; Benedictine College</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:jvanderhyde@benedictine.edu">jvanderhyde@benedictine.edu</a></div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://vanderhyde.us/~james/pro/" target="_blank">http://vanderhyde.us/~james/pro/</a></div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; On Apr 1, 2014, at 12:05 PM, Eric Hillstrom &lt;<a href="mailto:ehillstrom@durango.k12.co.us">ehillstrom@durango.k12.co.us</a>&gt; wrote:</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; From a student</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; Question:</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; I have taken a simple story with a medieval theme and am bringing it to life.</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; I want to have 10 mice move around in swarm/scurry fashion the world to make it look like they are protecting a castle.&nbsp; How do I do this?&nbsp; Should I make a list and somehow use a proximity function?&nbsp; How do I make it look random in nature to simulate mice scurrying around?</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; --</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; Eric Hillstrom</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; Teacher, CTE/Technology</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; Durango High School</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; 970-259-1630 x2204</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; _______________________________________________</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt; alice-teachers mailing list</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a></div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; _______________________________________________</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt; alice-teachers mailing list</div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a></div><div style="margin-top: 0px; margin-bottom: 0px;">&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">-------------- next part --------------</div><div style="margin-top: 0px; margin-bottom: 0px;">An HTML attachment was scrubbed...</div><div style="margin-top: 0px; margin-bottom: 0px;">URL:<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment.html" target="_blank">http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment.html</a></div><div style="margin-top: 0px; margin-bottom: 0px;">-------------- next part --------------</div><div style="margin-top: 0px; margin-bottom: 0px;">A non-text attachment was scrubbed...</div><div style="margin-top: 0px; margin-bottom: 0px;">Name: mouseScurrying.png</div><div style="margin-top: 0px; margin-bottom: 0px;">Type: image/png</div><div style="margin-top: 0px; margin-bottom: 0px;">Size: 44877 bytes</div><div style="margin-top: 0px; margin-bottom: 0px;">Desc: not available</div><div style="margin-top: 0px; margin-bottom: 0px;">Url :<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment.png" target="_blank">http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment.png</a></div><div style="margin-top: 0px; margin-bottom: 0px;">-------------- next part --------------</div><div style="margin-top: 0px; margin-bottom: 0px;">An HTML attachment was scrubbed...</div><div style="margin-top: 0px; margin-bottom: 0px;">URL:<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment-0001.html" target="_blank">http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment-0001.html</a></div><div style="margin-top: 0px; margin-bottom: 0px;">-------------- next part --------------</div><div style="margin-top: 0px; margin-bottom: 0px;">A non-text attachment was scrubbed...</div><div style="margin-top: 0px; margin-bottom: 0px;">Name: mouseScurrying.a2w</div><div style="margin-top: 0px; margin-bottom: 0px;">Type: application/octet-stream</div><div style="margin-top: 0px; margin-bottom: 0px;">Size: 4417933 bytes</div><div style="margin-top: 0px; margin-bottom: 0px;">Desc: not available</div><div style="margin-top: 0px; margin-bottom: 0px;">Url :<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment.obj" target="_blank">http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment.obj</a></div><div style="margin-top: 0px; margin-bottom: 0px;">-------------- next part --------------</div><div style="margin-top: 0px; margin-bottom: 0px;">An HTML attachment was scrubbed...</div><div style="margin-top: 0px; margin-bottom: 0px;">URL:<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment-0002.html" target="_blank">http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140402/66ab9f3d/attachment-0002.html</a></div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">------------------------------</div><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">_______________________________________________</div><div style="margin-top: 0px; margin-bottom: 0px;">alice-teachers mailing list</div><div style="margin-top: 0px; margin-bottom: 0px;"><a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a></div><div style="margin-top: 0px; margin-bottom: 0px;"><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div><p style="margin-top: 0px; margin-bottom: 0px;"></p><p style="margin-top: 0px; margin-bottom: 0px;"></p><div style="margin-top: 0px; margin-bottom: 0px;">End of alice-teachers Digest, Vol 45, Issue 3</div><div style="margin-top: 0px; margin-bottom: 0px;">*********************************************</div><p style="margin-top: 0px; margin-bottom: 0px;"></p></div><span>&lt;random mice.a2w&gt;</span>_______________________________________________<br>alice-teachers mailing list<br><a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a><br><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div></blockquote></div><br></div></body></html>