Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Car Test
Old
bamafaninknx
Guest
 
Status:
Posts: n/a
Default Car Test - 01-11-2008, 05:19 AM

I am a homeschool teacher. My kids have been learning with the "Learning to Program with Alice" book. We are on Chapter 6, and I have a question. We simply cannot do one of the exercises. Is there any way that one of you geniuses could help us out with the Driver's test exercise.

What needs to happen is:

A car needs to be set up with 5 orange cones. A gate needs to be set up at the end of the cones. That much we can do. What we can't do is this. We need a text saying " You Fail!" to pop up when the car hits the cones or the gate, and a "You Pass!" sign to pop up when the car goes fully through the cones and the gate. Somehow it is supposed to use If/else and a function isTooclose in regards to the car's distance to the cone. Please help us out. We are stumped on this and need help. If anyone would be gracious enough to make this, that would be awesome. I just need to see how it is done, and then I can recreate it for them.

my email is j.zavadil@cox.net if you can email it.

Sincerely,
Josh
   
Reply With Quote
 

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