Alice Community

Alice Community (
-   The Lounge (
-   -   Lab 2 -- Get Loopy (

rlpenn 11-02-2013 08:26 PM

Lab 2 -- Get Loopy
My ghost spins as many times as the user asks it to.

I solved the "yes", "Yes", "YES" issue by using the "While" condition as my loop. I set the initial "continue" variable to "yes" and then at the end had the user enter if they'd like it to run again. The "While" condition ran again if the user entered "yes", "Yes" or "YES".

Like magic!

All times are GMT -5. The time now is 07:05 PM.

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