[Squeakland] [FUN]Maze constructor

Karl Ramberg karl.ramberg at chello.se
Wed Sep 3 21:45:14 PDT 2003



Bert Freudenberg wrote:
> 
> Ned Konz wrote:
> 
> > On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
> >
> >>Oh, a quick update:
> >>Here is the project with a little documentation.
> >>http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su
> >>per/uploads/maze%20constructor.007.pr
> >>
> >>This is the version you want to use. Look at the cool garbage
> >>collecting :-)
> >
> >
> > Fun!
> >
> > However, it only backtracks by one square, so it gets stuck easily. In
> > script3 you set the cursor to 1 and then increase it; what you
> > probably want to do is move the resetting to 1 somewhere else, or
> > just throw away the history after backtracking.
> 
> No, what is missing is to move the first stack item to the trash holder.
Right
Most stuff should be fixed in this version:
http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploads/maze%20constructor.011.pr

> The cursor increase is just to test if the stack is empty - there seems
> to be no other way to test the size of a holder.

Right again.

Karl


More information about the Squeakland mailing list