Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

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

[Thread Prev] [Thread Next]

To: Njs13250@xxxxxxx, MWForum <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: who do u make a turtle through something like another turtle
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Wed, 06 Aug 2008 12:00:16 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;

On Wed, 06 Aug 2008 07:29:16 -0500, <Njs13250@xxxxxxx> wrote:

> that is really close to what i am looking for but i need a program that
> shoots aromatically
> 
> 
> 
> In a message dated 8/5/2008 6:50:22 P.M. Central Daylight Time,
> da.ajoy@xxxxxxxxx writes:
>
> http://mia.openworldlearning.org/mwforum/msg01179.html


Automatically?

That is easy:

change this code:

to startup
t2, clickon

forever [
if "| | = readchar [shoot]
]
end



with this code:


to startup
t2, clickon

forever [
if 0 = (random 100) + (random 1000) [shoot]
]
end

if it takes too long to shoot use different numbers, like:

if 0 = (random 10) + (random 1000) [shoot]

or 

if 0 = (random 1000) [shoot]

or 

if 0 = (random 100) [shoot]


Daniel
OpenWorld Learning



  • Previous by thread: Re: who do u make a turtle through something like another turtle
  • Next by thread: Re: who do u make a turtle through something like another turtle

  • 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