Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

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

[Thread Prev] [Thread Next]

To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Procedure question from newbie
Date: Mon, 20 Nov 2006 15:13:28 -0800

This is a great beginner project. I have attached a student program for
you. Don't forget to look inside the buttons for the directional
instructions. This is the simplest of all the maze projects. 

Look at the help for information on:

Most students forget to make sure that the turtle checks the color after
every step the turtle makes.


-----Original Message-----
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
Russell, Ken
Sent: Monday, November 20, 2006 2:57 PM
To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Procedure question from newbie

Although I am not exactly new to MicroWorlds, it's been over 10 years
since I used LogoWriter and MicroWorlds is much more powerful than the
LogoWriter I remember.

I am creating an activity for my students where they have the turtle
draw a maze and then "drive" the turtle though it. Creating the maze
using basic turtle graphics is easy. What I need to figure out is how I
can make the "walls" that are drawn by the turtle become barriers to
turtle movement. After the turtle draws the walls, he returns home where
he can start his journey though the maze. I need a procedure where if
the turtle crosses one of the walls, it stops at the wall (and/or maybe
returns to home?). Basically, if he hits a wall, the turtle needs to
start the maze over.

Is there a way to so this? Can he sense the color when he crosses it and
does not land on it? Is there a bit of code in a published activity that
is an example of this kind of procedure so I can adapt it? Do I need to
figure out another way to do it?

Thanks in advance for your help!

Ken Russell
Bellingham Schools

Attachment: B_Dodge Maze.mwx
Description: B_Dodge Maze.mwx

  • Previous by thread: Re: Procedure question from newbie
  • Next by thread: RE: Procedure question from newbie

  • 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