[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] zertz bug?



Kurt, I just sent the bug fix to Richard.  :-)    
Please take a look at my solution and let me know if it is correct.
What was happening was  that the program was looking through for 
free tiles that were removable but did not skip over the tile that
was previously choosen and approved  for the marble placement.


On Wed, 29 May 2002, Kurt Van den Branden wrote:

> hello Douglas,
> 
> I'm the original author of the zertz-code and I should have
> looked at the problem this weekend, but it slipped my mind. :-)
> 
> I just looked at it now and I think I know what the problem is.
> 
> first thing: you don't really have to specify xx as a position.
> it should work with all positions, except the one you are putting
> your marble on.
> 
> I decide that you don't have to remove a tile if there are no
> tiles that can be removed. but I do this check before adding the
> new marble, and in this case that means there is still one tile
> that can be removed: the one that you are going to put a marble on.
> 
> It's an easy fix, I'll send the new code to Richard in a few hours.
> 
> regards and thanks for looking,
> 
> Kurt.
> 
> Douglas Zander wrote:
> > 
> > can someone explain the zertz bug again.  sorry, but I erased the messages
> > talking about it.   I understand that it occurs when there are no more
> > tiles left to remove and the user specifically uses the double x's???  ('xx')
> > Is that true?  Can you please explain exactly what happens?   I am looking
> > at the code now and I think I see where it might get confused.
> > Thanks!
> 
> 
> -- 
> Kurt Van den Branden  * SF-reader * Linux-user    \|/ ____ \|/ 
> kurtvdb@pandora.be    * juggler * Gipf-addict      @~/ ,. \~@  
> http://users.pandora.be/kurtvdb/index.html        /_( \__/ )_\ 
> Gipf for One => http://gf1.sourceforge.net/          \__U_/



--
 Douglas Zander