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

Re: [pbmserv] Yes it's a bug...



I had some time today, so I fixed it.

Marco, you still need to undo and do the move again.

~ sharkey


P.S. Here's the patch for lyman

--- yinsh.cpp	2004/03/30 19:59:22	1.13
+++ yinsh.cpp	2004/03/30 19:59:45
@@ -361,7 +361,7 @@
 	{
 		pt = pt.step(direction);

-		if ( IsBlank(pt.r,pt.c) )
+		if ( IsBlank(pt.r,pt.c) || ( GetAt(pt.r,pt.c)=='*' )|| ( GetAt(pt.r,pt.c)=='+' ) )
 		{
 			if ( ! bBlanksAllowed )
 			{


On Tue, 30 Mar 2004, Lyman Hurd wrote:

> Realized I hadn't cc'ed all before.
>
> Yes it is a bug.  I will look into it.  I don't
> promise I'll be able to get to it today but I'll try
> as soon as I can.
>
> You'll need to "undo" the move until the fix can be
> uploaded.  Sorry for the inconvenience.
>
> Lyman
>
> --- Marco Ferrando <marco.ferrando@laposte.net> wrote:
> > Hello all.
> > please observe the following yinsh game:
> >
> > > Summary of Yinsh Board 176
> > >
> > > It is lucax's turn.
> > >
> > >    White (O)           Black (X)
> > >    marco               lucax
> > >   31 i7-h7            32 g5-g7
> > >   33 j9-j10           34 g7-h8
> > >   35 j8-i8            36 k7-e1
> > >   37 xj5-j9xh7;j10-j7
> > >
> > >
> > > Rings Off Board: White 1 Black 0
> > > Markers Remaining 29
> > >
> > >                 11
> > >              10
> > >           9     .     .
> > >        8     .     .     .
> > >     7     .     .     .     .
> > >  6     .     .     .     .     .
> > >           .     .     .     .
> > >  5     .     .     .     x     O
> > >     .     .     .     .     .     o
> > >  4     .     .     .    (x)    O
> > >     .     .    (x)    x    (o)    o
> > >  3     .     .     x     *     O
> > >     .     .     .     o     o     o
> > >  2     .     x     .    (x)   (O)
> > >     .     .     .     x    (o)    x
> > >  1     .     .    (o)    o     +
> > >           .     .     o     x
> > >        .    (x)    x     x     +
> > >     A     .     .     o     o     K
> > >        B     .     o     x     J
> > >           C    (x)    o     I
> > >              D           H
> > >                 E     G
> > >                    F
> >
> > if I removed the column j5-j9 after that Luca
> > flipped the marker in j6,
> > how can I flip the markers in j8 and j9? Shouldn't
> > this intersections be
> > empty?
> > Is this a bug or I'm missing something?
> >
> > Thank you for your answer.
> > Regards, Marco Ferrando.
> >
> > P.S. BTW I'm not very proud of my last move... :-)
> >
> >
> > To unsubscribe, send a message to esquire@gamerz.net
> > with
> > 	unsubscribe pbmserv-users@gamerz.net
> > as the BODY of the message.  The SUBJECT is ignored.
> >
>
>
> To unsubscribe, send a message to esquire@gamerz.net with
> 	unsubscribe pbmserv-users@gamerz.net
> as the BODY of the message.  The SUBJECT is ignored.
>