Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Lab2 completed Loooooopppppyyyyy
Old
mf1782
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jul 2013
Thumbs up Lab2 completed Loooooopppppyyyyy - 07-22-2013, 06:48 PM

All,

So going into this lab, once I was finished with the reading material, I then read Keith Taylor's post prior to beginning our task. Luckily, Keith is nice enough to start us out with a few solid hints regarding his 'lessons learned'. I then was able to put together most of the code that I felt was right, but was still a little confused as to the outcome due to the fact that I'm unable to view the actions I've created with the consistent java errors.

Sooooo, with that being said, I reached out to my friend and yours Keith Taylor. I shot him my code, questions and assumptions as to what the code would do and/or what I thought it would do. Keith was Johnny on the spot with replies, answered my questions and gave me a few hints as to how I may want to re-work some of my code. I can't Thank him enough for the assistance as it's great to have a SOLID team member to work with!

On to the next lesson....
   
Reply With Quote
Getting Loo-paay
Old
smccray
Junior Member
 
Status: Offline
Posts: 7
Join Date: Jul 2013
Default Getting Loo-paay - 07-23-2013, 07:53 AM

I'm having trouble getting the program to continue with the variables. It does it about two times then stop. Not sure I have "loop" in the right spot.
   
Reply With Quote
Getting Loo-paay response
Old
eug3n10
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jul 2013
Location: Irving, TX
Default Getting Loo-paay response - 07-25-2013, 12:04 AM

SMCCRAY,

Are you having trouble with the variable used to make the object spin or with the variable used to decide on whether to run the code again?

In order to have mine work I created a method for the jump/spin in which according to the user input the object spun a certain number of revolutions using a loop.

Once this was completed the program then asked the user whether he/she wanted to run the method again. Depending on that response the while statement would either trigger an execution of the method again or end. Let me know if you need clarification.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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