Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Turtle Forward Question
From: "Jeff Knope" <jknope@xxxxxxxx>
Date: Thu, 30 Jun 2005 09:40:16 -0700

Given two turtles, dog and doghouse, to make the dog in front of the doghouse
include this code:

doghouse, infront
dog, infront

If the dog runs behind the doghouse, include this code:

dog, infront
doghouse, infront

The turtles' infront status is controlled by the order of the infront
statements, the most recent being the most forward.  This applies equally when
there are more than 2 turtles.

Jeff

  ----- Original Message ----- 
  From: Jean Stringer 
  To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx 
  Sent: Thursday, June 30, 2005 9:14 AM
  Subject: [MWForum] Turtle Forward Question


  Can a turtle be programmed to come forward or go backward in a procedure?

  The dog runs out of the doghouse (because the dog is in the back, now the
dog wants to run in front of the doghouse as it passes again.? How can the
doghouse now go to the back????

  Thanks for any help>

  Jean


  Jean Stringer <sjbjeanmarie@xxxxxxxxx> wrote:
    The class I am teaching has not asked one question I could not answer, so
they must not be doing to great. Last year's class stumped me several times!
:)  They loved the Ninja Presentation!  They are a good class and laugh and
have fun with what they are learning!  I can't get them to even take a break
the entire three hours! :)

    I thank you all for the help in the past, and the projects you share...

       (my computer at home is on the fritz and I am to busy during class to
write, so at my son's tonight to say Thanks!

                         Jean


    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com 

  __________________________________________________
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 

  • Previous by thread: Turtle Forward Question
  • Next by thread: Re: Turtle Forward Question

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008