Alice Community

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

JoshuaWilson 10-13-2018 06:08 PM

Lab 2
 
At first, I thought I knew that I was going to do on Lab 2. Once I opened it up, my plans changed completely. I realized that the best way to do it was to create a recursive function (that is, a function with a function call within the function) so that a function can call itself at its end to restart the cycle.

After experimenting a while with other methods, this was the best I could think of. I used 3 functions, one to jump + spin, one to initialize the world, and a third for everything else (asking for number of spins, etc.). Inside of the third function, I used a function call so that if the user chooses they may re-run the main section of the program without restarting the entire program.

Amzoun95 10-11-2019 09:55 AM

But it is in the exif that we find this reference for the device.














[SIZE="1"][url=https://sarkariresult.onl/]Sarkari Result[/url] [url=https://pnrstatus.vip/]Pnr Status[/url] [url=https://19216811.cam/]192.168.1.1[/url][/SIZE]


All times are GMT -5. The time now is 01:02 AM.

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