Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Chapter 7 exercise 6 help.
Old
BriP915
Junior Member
 
BriP915's Avatar
 
Status: Offline
Posts: 1
Join Date: Apr 2012
Location: Jersey
Question Chapter 7 exercise 6 help. - 04-15-2012, 08:59 PM

Okay so I have to use a switch to have the bumper cars move and once they hit something they are suppose to turn clockwise and continue moving forward.


Any hints or suggestions on how to control this?
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-15-2012, 09:04 PM

Use the "is within (half bumper car's width) of (other bumber car)" function in an if statement, perhaps with a double "for all in order" statement


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Reply

Tags
bumper cars, chapter 7, exercise 6

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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.