Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   Assignment 2 (http://www.alice.org/community/showthread.php?t=11572)

vstarling 09-10-2016 08:29 PM

Assignment 2
 
I completed the project containing the lunar lander with the alien greeting . The project itself was fairly simple; once I managed to control the speed of the lander, as well as selecting a Do Together code to ensure that both aliens approached it simultaneously, it was simple enough. The only aspect that posed a challenge was the action of opening the door. There was no specific command for that, so the closest approximation for me was to move the door downward, until it disappeared into the surface of the moon.

lucyrn99 09-13-2016 08:04 PM

Opening/closing a door does sound like a challenge, at this point in our learning.. I'm impressed that you were able to make it happen by using some of the controls that you already knew.

If I can find a good Alice link for how to get a door to open or close, I'll try to remember to post it here. :-)

chickentree 09-14-2016 12:18 PM

lunarLander.door turn right 0.25 revolutions

Will open the door.

Mark


All times are GMT -5. The time now is 02:54 PM.

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.