<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle">P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</style>
</head>
<body style="WORD-WRAP: break-word" fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Thanks Don!</p>
<p> </p>
<p>I think I can use this code to control the game.  I was not able to find anything like this by browsing YouTube videos. 
</p>
<p> </p>
<p>Can you recommend a textbook for Alice 3.x?  Looks like I will be teaching middle school students again next year. I currently teach 2.4 on the Community College level.</p>
<p> </p>
<p>My goal is to teach K-12 teachers how to use Alice in the classroom.  Working with these middle school students is a great way to learn about the needs of k-12 teachers.  I tried to get into the Duke training in North Carolina last year, but was placed on
 the waiting list.  </p>
<p> </p>
<p>By the way, I do read every thread that is included in the educator's list.  Thanks Don for moderating this list, it is very useful.  I don't know what we would do without it or you!!!!!</p>
<p> </p>
<div>
<p> </p>
<div class="BodyFragment"><font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">Thank you,<br>
<br>
Vicky<br>
Yvonne Pigatt, Assistant Professor<br>
Computer Science/Information Technology<br>
The Community College of Baltimore County<br>
443-840-2835|443-840-5035 fax |ypigatt@ccbcmd.edu<br>
CCBC. The incredible value of education.<br>
The only way to do great work is to love what you do..Steve Jobs</div>
</span></font></div>
</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Times New Roman; COLOR: #000000">
<hr tabindex="-1">
<div id="divRpF633903" style="DIRECTION: ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> alice-teachers [alice-teachers-bounces+ypigatt=ccbcmd.edu@lists.andrew.cmu.edu] on behalf of Donald Slater [djslater107@mac.com]<br>
<b>Sent:</b> Friday, March 17, 2017 1:08 PM<br>
<b>To:</b> Alice Teachers<br>
<b>Subject:</b> Re: alice-teacher Alice 3.x<br>
</font><br>
</div>
<div></div>
<div>
<div style="WORD-WRAP: break-word">Yvonne,
<div>I am glad the videos were helpful… </div>
<div><br>
</div>
<div>Recursion is one possibility, but the memory overhead might eventually cause Alice to crash…</div>
<div><br>
</div>
<div>I put this video together demonstrating a SimpleGame Control loop which might be helpful… Please let me know if you have any questions…</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://dl.dropboxusercontent.com/u/2332970/SimpleGameControl.mp4" target="_blank">https://dl.dropboxusercontent.com/u/2332970/SimpleGameControl.mp4</a></div>
<div><br>
</div>
<div>All the best,</div>
<div>Don Slater</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Mar 16, 2017, at 10:23 PM, Pigatt, Yvonne <<a href="mailto:ypigatt@ccbcmd.edu" target="_blank">ypigatt@ccbcmd.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; DIRECTION: ltr; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Thank you Don for your quick response.  We will be polishing up our code this weekend and this information will be very useful.</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Do you have a video that can show us how to restart a procedure in a game.  If a user clicks on a wrong answer, how can we start the procedure again.  I guess we can use recursion?  We are using Alice 3.x.</div>
<div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div class="BodyFragment"><font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">Thank you,<br>
<br>
Vicky<br>
Yvonne Pigatt, Assistant Professor<br>
Computer Science/Information Technology<br>
The Community College of Baltimore County<br>
443-840-2835|443-840-5035 fax |<a href="mailto:ypigatt@ccbcmd.edu" target="_blank">ypigatt@ccbcmd.edu</a><br>
CCBC. The incredible value of education.<br>
The only way to do great work is to love what you do..Steve Jobs</div>
</span></font></div>
</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: 'Times New Roman'">
<hr tabindex="-1">
<div id="divRpF244493" style="DIRECTION: ltr"><font size="2" face="Tahoma"><b>From:</b><span class="Apple-converted-space"> </span>alice-teachers [<a href="mailto:alice-teachers-bounces+ypigatt=ccbcmd.edu@lists.andrew.cmu.edu" target="_blank">alice-teachers-bounces+ypigatt=ccbcmd.edu@lists.andrew.cmu.edu</a>]
 on behalf of Donald Slater [<a href="mailto:djslater107@mac.com" target="_blank">djslater107@mac.com</a>]<br>
<b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, March 16, 2017 9:13 AM<br>
<b>To:</b><span class="Apple-converted-space"> </span>Alice Teachers<br>
<b>Subject:</b><span class="Apple-converted-space"> </span>Re: alice-teacher Alice 3.x<br>
</font><br>
</div>
<div></div>
<div>Yvonne,
<div>It would be very difficult to export / import methods that belong to the Scene class into other projects.</div>
<div><br>
</div>
<div>However, if the methods belong to an object (such as the ClownFish) or the Fish class, then that class can be exported and imported into other projects… See the following video demonstrations:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=FXhZZMZawis&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=FXhZZMZawis&feature=youtu.be</a> - a summary video</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=LaNqDdHmvho&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=LaNqDdHmvho&feature=youtu.be</a> - focus on export</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=0XprEvcqjgY&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=0XprEvcqjgY&feature=youtu.be</a> - focus on import</div>
<div><br>
</div>
<div>If you build the mouse-click listener with if statements than different events can be triggered, depending on what is clicked on…</div>
<div><br>
</div>
<div>See the following video:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=QEzgnRiHTXo&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=QEzgnRiHTXo&feature=youtu.be</a></div>
<div><br>
</div>
<div>(Keypress events start at the 6:50 mark, but it may be useful to view the entire video).</div>
<div><br>
</div>
<div>If you have not covered the if statement in your course, another way to do this would be to </div>
<div>
<ol class="MailOutline">
<li>add the mouse-click event<span class="Apple-converted-space"> </span> </li><li>click on the details button, and select Set of Visuals<span class="Apple-converted-space"> </span>
</li><li>from SetOfVisuals, click on Custom Array…<span class="Apple-converted-space"> </span>
</li><li>In the Custom Array Dialog box, add the object or objects that you want to respond to that particular mouse event.</li></ol>
<div><br>
</div>
</div>
<div>See this video demo:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://dl.dropboxusercontent.com/u/2332970/mouseEventDemo.mp4" target="_blank">https://dl.dropboxusercontent.com/u/2332970/mouseEventDemo.mp4</a> </div>
<div><br>
</div>
<div>Please let us know if you have any other questions…</div>
<div><br>
</div>
<div>All the best,</div>
<div>Don Slater</div>
<div>
<div><br>
Alice Project<br>
Carnegie Mellon University<br>
Entertainment Technology Center<br>
700 Technology Drive<br>
Pittsburgh, PA 15219<br>
<br>
Email:<span class="Apple-converted-space"> </span><a href="mailto:dslater@cmu.edu" target="_blank">dslater@cmu.edu</a><br>
<br>
I have learned this at least by my experiment: that if one advances confidently in the direction of his dreams, and endeavors to live the life he has imagined, he will meet with a success unexpected in common hours.<br>
--- Henry David Thoreau<br>
<br>
The true object of all human life is play. -- G.K. Chesterton<br>
<br>
</div>
<br>
<div>
<blockquote type="cite">
<div>On Mar 16, 2017, at 12:37 AM, Pigatt, Yvonne <<a href="mailto:ypigatt@ccbcmd.edu" target="_blank">ypigatt@ccbcmd.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; DIRECTION: ltr; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<div>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Hi,</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">I am working on a middle school project and have run into some problems.</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Can Alice 3.x procedures be imported into other Alice 3.x projects?</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">I am trying to combine code from four different students into one project.  Can there be multiple mouse click event listeners that initiate different events?</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> <span class="Apple-converted-space"> </span></p>
<div class="BodyFragment"><font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">Thank you,<br>
<br>
Vicky<br>
Yvonne Pigatt, Assistant Professor<br>
Computer Science/Information Technology<br>
The Community College of Baltimore County<br>
443-840-2835|443-840-5035 fax |<a href="mailto:ypigatt@ccbcmd.edu" target="_blank">ypigatt@ccbcmd.edu</a><br>
CCBC. The incredible value of education.<br>
The only way to do great work is to love what you do..Steve Jobs</div>
</span></font></div>
</div>
</div>
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px">_______________________________________________</span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px">alice-teachers mailing
 list</span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<a style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px" href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank">alice-teachers@lists.andrew.cmu.edu</a><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<a style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px" href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px">_______________________________________________</span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px">alice-teachers mailing
 list</span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px"><a href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank">alice-teachers@lists.andrew.cmu.edu</a></span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px"><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>