[MWForum]boxes and numbers

Jeff Knope mwforum@lists.mathcats.com
Mon, 3 May 2004 09:44:59 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C430F3.4CACDD80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ian wrote:

I have 10 squares and 10 numbers all turtles.  I have=20
programmed the boxes to change (a new turtle) when touching=20
i.e., when t1 touches s1, t1 & s1 will hide & s1a appears. =20
How can I also program them to say that if s1 touches any=20
of the other 9 squares I want it to go back to it's set pos?

Ian,

It's a little difficult to get a clear idea of the context of your =
question. I'm guessing that "boxes" and "squares" are the same thing. =
I'm guessing that by "a new turtle" you mean a new turtleshape for the =
"s" turtle (which is not really the same as a new turtle). I'm guessing =
that all the "square" and "number" turtles are moving about randomly at =
the same time. I'm guessing that by "it's set pos" you mean that =
turtle's original position. I'm guessing that by "I want it..." you mean =
that you want only one of the two squares that have touched to return to =
its original position.

That's an awful lot of guessing. What say you try to clarify these =
things? It will make the chances of getting a useful answer a lot =
better.

-Jeff


------=_NextPart_000_0009_01C430F3.4CACDD80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ian wrote:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>I have 10 squares and 10 numbers all turtles.&nbsp; I have =
<BR>programmed=20
the boxes to change (a new turtle) when touching <BR>i.e., when t1 =
touches s1,=20
t1 &amp; s1 will hide &amp; s1a appears.&nbsp; <BR>How can I also =
program them=20
to say that if s1 touches any <BR>of the other 9 squares I want it to go =
back to=20
it's set pos?<BR><BR><FONT face=3DArial size=3D2>Ian,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It's a little difficult to get a clear =
idea of the=20
context of your question. I'm&nbsp;guessing that "boxes" and "squares" =
are the=20
same thing. I'm guessing&nbsp;that by "a new turtle" you mean a new =
turtleshape=20
for the "s" turtle (which is not really the same as a new turtle). I'm =
guessing=20
that <STRONG>all</STRONG> the "square" and "number" turtles are moving=20
about&nbsp;randomly <EM>at the same time</EM>. I'm guessing that by =
"it's set=20
pos" you mean that turtle's original position. I'm guessing that by "I =
want=20
it..." you mean that you want <EM>only one</EM> of the two squares that =
have=20
touched to return to its original position.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>That's an awful lot of guessing. What =
say you try=20
to clarify these things? It will make the chances of&nbsp;getting a =
useful=20
answer a lot better.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Jeff</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0009_01C430F3.4CACDD80--