[Newbies] Re: Randomness + Pause/Delay?

Steve Thomas sthomas1 at gosargon.com
Sat Apr 9 00:55:29 UTC 2011

Sound interesting is the Etoys project posted anywhere?

On Thu, Apr 7, 2011 at 5:47 PM, michael rice <nowgate at yahoo.com> wrote:

> I ported my morphic app to Etoys and it does indeed work differently
> (randomly) now each time I bring it up.. The app simulates a simple game
> with two players taking turns putting their colored blocks (blue and red)
> upon one of two towers, randomly selected. The game ends when both towers
> are topped with the same color.
> In a playfield, the playGame pseudocode script:
> TEST towers topped with same color blocks
>   YES initialize game to starting conditions
>   NO blueAction
>         redAction
> But the two scripts, blueAction and redAction, in sequence, appear to
> happen simultaneously. Is there a delay mechanism, like a marktime tile,
> that could separate two scripts by a specified number of ticks? If not, are
> there any plans for one?
> Michael
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20110408/e264c084/attachment.htm

More information about the Beginners mailing list