[Newbies] Re: Randomness + Pause/Delay?
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
> 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?
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners