Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: "mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, "zehava wizman" <zehavawi1@xxxxxxxxx>
Subject: Re: using distance instruction to build the game
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Fri, 15 Apr 2011 10:49:13 -0500

Very interesting. Sorry for taking so long.

I make 4 variables called t1 t2 t3 t4

they contain the positions, in the frame, of each turtle with that name.

I make a list of the positions that are in use. Called inuse.

I use the "ifs" to say:

If I am being moved to position 1, then position 2 and position 3 should not be "inuse".
If they are, this is a falsemove, then stop.


OpenWorld Learning

On Sun, 10 Apr 2011 08:22:50 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:

Hello Forum!
I want to build a game that there are two black circles and two white circles. There is starting position of two white circles together and the user has to transfer them to final position the two white circles have to be in the opposie side of black one. The rules are: you can jump to an empty frame above one circle , you can move to the nearer empty frame. You are not aloud to jump above two frames. I succeeded to avoid going to the frame with circle, but not succeeded to avoid jumping above two frames. How can I do it?
here attached the example.
Thanks, Zehava

Attachment: checker.mwx
Description: application/mwx-plugin

  • Previous by thread: using distance instruction to build the game
  • Next by thread: Re: using distance instruction to build the game

  • 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.

    © copyright 2001 - 2008