John St. Clair wrote... >I have a student working on making an adventure game who's gone beyond my >knowledge of MicroWorlds. He would like to have the person playing his >game enter a code in a certain sequence in order to advance to the next >stage of the adventure. He's made some designs into turtle shapes and >would like to have the player either click on the turtles in the correct >order or drag the turtles into a grid on the screen in the correct order. >How would MW detect the selection either of the turtle clicking or >placement of the turtles? Each turtle should have an instruction that runs a procedure recording which turtle was clicked on. Another button should be clicked to say "I'm done" I'd probably use something like make "codestring lput :codestring who Then when the I'm done button button is pressed, you can check if :codestring = what the randomly chosen string is. Be sure to initialize :codestring before trying to lput -=Stager Gary S. Stager Editor-in-Chief - The Logo Exchange logoexchange@moon.pepperdine.edu http://moon.pepperdine.edu/~gstager/logoexchange 21825 Barbara Street Torrance, CA 90503 USA Article submissions are always welcome from Logo-using educators, parents and children. The Logo Exchange publishes four issues per year. To subscribe to Logo Exchange, go to http://www.iste.org --------------------------------------------------------------- Please post messages to the Logo forum to logo-l@gsn.org. Mail questions about the list administration to logofdn@gsn.org. To unsubscribe send unsubscribe logo-l to majordomo@gsn.org.
Global SchoolNet Foundation -
Linking Kids Around the World!
Copyright GSN - All Rights Reserved
- Comments
& Questions
Visit GSN's
Global
Schoolhouse for more exciting learning resources!
Search our Site
-
Home