Alice Community Alice Assignment 2

 Alice Assignment 2
 HalBen18 Junior Member   Status: Offline Posts: 12 Join Date: Jan 2014 Location: Cedar Hill, TX Alice Assignment 2 - 01-31-2014, 05:00 PM I did PP1.2 which was making a combination lock spin and unlatch. This was a little bit more difficult than the first one but it was still fun and easy. The hardest part was adjusting the amounts to get it to go where you needed it to be.
 sounds like fun
 MrMoke Senior Member     Status: Offline Posts: 501 Join Date: Sep 2007 Location: Austin, Texas sounds like fun - 02-01-2014, 03:57 PM How about a challenge for your class and teacher? 1) Assume that dial starts at zero. 2) Have the Lock ask the user for three numbers. 3) Make the dial do the combination, and then unlock. Advanced challenge: 1) Make the dial spin past zero twice before stopping at first number. 2) Reverse direction and make the dial spin past first number once before stopping at second number. 3) Reverse direction again, and turn to last number. All of above worked for me
 Assignment 2- Lock
 Ulymedina Junior Member   Status: Offline Posts: 2 Join Date: Jan 2014 Assignment 2- Lock - 02-01-2014, 05:18 PM Just finished the combination lock project, easiest way to figure out how much to make the dial roll is to think of it in parts. Each number is an 8th, 10= 2/8 or 1/4. Then just count backwards the same way.
 You might want to rethink your Logic
MrMoke
Senior Member

Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
You might want to rethink your Logic - 02-02-2014, 11:50 AM

Quote:
 Originally Posted by Ulymedina Just finished the combination lock project, easiest way to figure out how much to make the dial roll is to think of it in parts. Each number is an 8th, 10= 2/8 or 1/4. Then just count backwards the same way.
Including the zero, there are 40 different possibilities.
Click below and select open to view a quicktime video of my solution
Attached Files
 Mr Mokes Combo.zip (5.78 MB, 8 views)

Last edited by MrMoke; 02-04-2014 at 09:15 AM.

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge