Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Which way is the object pointing to
Old
roofy
Guest
 
Status:
Posts: n/a
Default Which way is the object pointing to - 11-04-2006, 12:01 PM

Hi there, for my second project, I have created a simplified version of the game horseshoes. As for the code, I gotten as far as letting player1 toss his or her 2 horseshoes, and then give the computer a turn to toss its 2 horseshoes. So now I am ready to calculate both players score, but the problem I am having with is finding if the current horseshore that is being checked for is a ringer or not. The only thing I can come up with is to somehow create some code that checks if the given horseshoe is pointing towards the horseshoe pole. However, I cannot find any prebuilt method or function that can do what I want it to do. So can anyone else think of another way I could do this?
   
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.