Keeping a car on the road using conditionals and colours in EToys
The screenshots gives an idea of how if statements work in EToys / Squeak. The car goes forward when brown is underneath, turns right when the yellow is underneath and left when green is underneath
I worked this out by visiting the
Squeak in Elementary School page illustrating work by 5th graders in New York and 4th and 5th graders in Los Angeles. These projects can be dynamically run and even changed on line.
I haven't worked out yet how to publish a project on line so that it will run.
No comments:
Post a Comment