Hi Vern,
I've been trying turtlenew.py, and two issues have arisen:
- I'm using Mac OS X, and the turtle window, while nice and big, is
immovable, apparently pinned forever to the upper left corner of the
screen (it can be re-sized, though). Also, having the turtle window
appear in the middle of the monitor strikes me as a nicer default than
having it appear in the upper-left corner.
- I got caught out by the speed command: I assumed that the bigger
the number I gave it, the faster the turtle would go. But, of course,
the numbers are there to indicate different speeds. Instead, or in
addition to, I think it would be clearer to pass in strings, e.g.
>>> turtle.speed('slow')
>>> turtle.speed('normal')
>>> turtle.speed('fast')
In addition, a function to set the delay value might be handy; I
suspect that people who want more control over the turtle's speed will
want to change the delay.
Also, I've finished most of the doc strings, and I think it might also
be helpful to add some better error messages that tell users the
expected usage of the commands, .e.g. the color command is rather
complicated, and gives error messages like "bad color" that don't mean
much to beginners.
Toby
--
Dr. Toby Donaldson
School of Computing Science
Simon Fraser University (Surrey)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"edupython" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/edupython
-~----------~----~----~----~------~----~------~--~---