Alice Community  

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

Reply
 
Thread Tools Display Modes
HELP with assignment-- Practice Turns
Old
allthefreakypeople
Guest
 
Status:
Posts: n/a
Default HELP with assignment-- Practice Turns - 10-24-2012, 07:17 PM

Hi all-

I have what I'm sure is a very basic question. I was assigned this task from the Progamming with Alice textbook, Exercise 7 from Chapter 6, Section 2:

"For this world, write a program to make the skater practice her turns on the ice. First, place the skater 1 meter from the second cone, facing forward. She then skates forward toward the first cone (a sliding step). When she gets close, she should skate halfway around the cone and end up facing he other way to skate back toward the other cone. Next, have the skater skate toward the other cone and when close enough make a turn around it. In this way, the skater should complete a path around the two cones."

I'm not sure if I should create a "When something is true" Event or a world-level If/Then statement checking this condition, or if it matters. I'm getting hung up on the skater making a neat turn around this object. Furthermore, if the skater performs the turn when she is within a certain distance of an object, wouldn't she still be within that distance after performing half a turn?

I've included my work in progress. Thanks!
Attached Files
File Type: a2w Practice Turns.a2w (3.18 MB, 12 views)
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.