[Thread Prev] <
Hello Marian!
Thanks about your good advise, I will try it!
Zehava Wizman
Marian Rosen <mbrosen@xxxxxxxxx> wrote:
Zehava,
Several people have suggested to you the solution of using the word list
instead of the brackets [ ].
setpos list :x :y ( works ) VS setpos [:x :y] (which doesn't work)
I taught Kg-6th graders and did not find it easy to explain to them why the
brackets won't evaluate the variables. So, here is an alternative method that
I is less abstract and has the advantage of having kids think through the
significance of 360 degrees. We didn't usually study coordinates until 4th
grade, so the following was also a very useful solution for younger kids.
to throw
rt random 360
fd random 9999
end
"Throw" works best if you are throwing a turtle any where on the screen. If
kids were writing a game in which they wanted the turtle to land in a specific
area, they often worked out a solution in which the turtle checked what color
it had landed on and then either did or did not do another "throw" depending
on the result they wanted.
P.S. Giving credit where credit is true, I think this alternative may have
been suggested to me by Michael Tempel back in 1983... but maybe not. I would
certainly like to think I self-generated it! It was simple, it worked, and
kids "got it".
On Jan 6, 2007, at 3:36 AM, zehava wizman wrote:
Hello Forum!
first of all, thanks about your quick and useful answers to my problems.
Another 2 questions:
1. How can I used random with setpos instruction?
I tried to write some version like setpos [random 200 random 190],or to make
"x random 200 make "y random 190 ,and then setpos [:x :y].
2. How can I limit all my turtles to move only between some values of the
screen?
thanks, Zehava Wizman
__________________________________________________
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:
Re: position with random coordinates
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.
|