[Thread Prev] [Thread Next]
Hello Alain!
thanks for your answer, but it didn't help. Now its bring the card all the
time to the second turtle.
Because of large size, I couldn't raise it to the site, I send the project
to Daniel Email.
Zehava Wizman
Alain Tougas <alain@xxxxxxx> wrote:
Hello,
If you wish the procedure to stop after the first condition is satisfied,
you may have to include a STOP command in the "consequence" of the IF
statement. But that's just a guess:
to Hit_Me
t1, if shape > 0 [t2, setsh random 51 setsh shape + 8 STOP]
t2, if shape > 0 [t3, setsh random 51 setsh shape + 8 ] STOP
t1, if shape = 0 [setsh random 51 setsh shape + 8]
end,
I notice the presence of "sticking characters" in your email. I can't erase
the open bracket at the end of lines 2 and 3. They even hang Microsoft Word.
This may damage your MW project. Check that you don't have those in your
project.
Ciao,
Alain
-----Original Message-----
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx [mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of zehava wizman
Sent: December 15, 2006 8:51 AM
To: help MW
Subject: BlackJek Game
Hello Forum!
1. I think I saw before ,in your Site, project similar to the game
BlackJek, Did someone knows about it?
2. I tried to send the project , but it didn't succeed to reach the
site(maybe because of big size' all shapes of cards ?),so I will describe my
problem:
HIT_ME procedure has to bring each time a new random card , if the first
turtle was changed its ought to go to the next turtle and so on.
The procedure used IF statement, but the second HIT_ME brings two card (
its according to the conditions ....) How can I do that each time one card
will appear in the next turtle ( the proc has to check if the previous turtle
has been changed)?
to Hit_Me
t1, if shape > 0 [t2, setsh random 51 setsh shape + 8]
t2, if shape > 0 [t3, setsh random 51 setsh shape + 8]
t1, if shape = 0 [setsh random 51 setsh shape + 8]
end
thanks, Zehava Wizman
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Previous by thread:
RE: BlackJek Game
Next by thread:
Re: Blackjack project too large to send to MWForum
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|