[Thread Prev] [Thread Next]
thanks for your quick and simple answer.
Another question is how I can write a simple procedure that can check if a
letter is the right letter to be in the word. The game is displaying a word
that only the first letter and the final letter is appeared. The user has to
guess which letter to put'.If it OK the letter is stamping itself, if it
not, its goes to its first location.
I tries to do something and didn't succeeded.
How can I do it in a simple way?
--- On Wed, 6/1/11, Daniel Ajoy <da.ajoy@xxxxxxxxx> wrote:
From: Daniel Ajoy <da.ajoy@xxxxxxxxx>
Subject: Re: checking if turtle is hidden
To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wednesday, June 1, 2011, 5:46 PM
On Wed, 01 Jun 2011 02:00:57 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:
> Hello Forum
> I want to know how can I check some condition if two turtles are hidden or
> not , and according to this condition, do something
> I tries to write thos proc:
> to test
> if and (set "t1 "visible? "true) ("t2 "visible? "true)[ announce [hello]]
> it's doesn't work.
> thanks, Zehava
"set" is for setting values.
"get" is for getting values:
if and (get "t1 "visible?) (get "t2 "visible?) [ announce [hello]]
fix a word.mwx
Description: Binary data
Previous by thread:
Re: checking if turtle is hidden
Next by thread:
Re: match and repel
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.