[MWForum]Testing for finish line

Bob Irving mwforum@lists.mathcats.com
Tue, 18 May 2004 09:36:40 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0003_01C43CBB.9FCFC080
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi again,

Another "should be easy one" -- using microworlds pro, and the student =
is
having a turtle go along a straight course to a finish line. We want to =
test
for when the turtle has reached or passed the finish line.

Currently we have something like

If t1's xcor > 304 [gameover]

We're also trying

If t1's "pos =3D [304 -99]=20

[gameover]

Since we're advancing the turtle an exact number throughout the game, we
should be able to pinpoint its exact position, but that doesn't seem to =
work
either.

TIA,

=20

Doesn't seem to be working, however.

=20

=20

Bob Irving

Middle School Technology Coordinator

Lancaster Country Day School

Weblog --  <http://bobirving.weblogs.us/> http://bobirving.weblogs.us

=20

=20

"Technology will never replace teachers, but teachers who use technology
will replace those who do not."

=20

=20


------=_NextPart_000_0003_01C43CBB.9FCFC080
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><FONT size=3D2>
<P>Hi again,</P>
<P>Another "should be easy one" -- using microworlds pro, and the =
student is=20
having a turtle go along a straight course to a finish line. We want to =
test for=20
when the turtle has reached or passed the finish line.</P>
<P>Currently we have something like</P>
<P>If t1's xcor &gt; 304 [gameover]</P>
<P>We're also trying</P>
<P>If t1's "pos =3D [304 -99] </P>
<P>[gameover]</P>
<P>Since we're advancing the turtle an exact number throughout the game, =
we=20
should be able to pinpoint its exact position, but that doesn't seem to =
work=20
either.</P>
<P>TIA,</P>
<P>&nbsp;</P>
<P>Doesn't seem to be working, however.</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Bob Irving</P>
<P>Middle School Technology Coordinator</P>
<P>Lancaster Country Day School</P>
<P>Weblog -- </FONT><A href=3D"http://bobirving.weblogs.us/"><U><FONT=20
color=3D#0000ff =
size=3D2>http://bobirving.weblogs.us</U></FONT></A></P><FONT size=3D2>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>"Technology will never replace teachers, but teachers who use =
technology will=20
replace those who do not."</FONT><FONT size=3D2></P>
<P></FONT><FONT size=3D2>&nbsp;</P>
<P>&nbsp;</P></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_0003_01C43CBB.9FCFC080--

---
[This E-mail scanned for viruses by Declude Virus]