[Top][All Lists]

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

Re: [Bug-gnubg] Swap Players is broken

From: Philippe Michel
Subject: Re: [Bug-gnubg] Swap Players is broken
Date: Thu, 4 Aug 2011 07:51:42 +0200 (CEST)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

On Wed, 3 Aug 2011, Michael Petch wrote:

[...] the proper display of the board when importing XGID's (reported by Leo Bueno on BGO).

What the proper display is may not be that obvious. If the imported position has the top player on roll (as displayed), your new code will swap players anyway.

With these fancy XG exports, I don't think there is a way to be sure that the imported position will look like the html from the xgid alone. FWIW, XG doesn't do this either : if it exports a position upside down to have the bottom player on roll in the html, pasting the id will get the original position.

The question is more like : do we want the pasted positions to always have the player on roll at the bottom no matter what the id says ?

This is reasonable, but then :
- it should work for cube positions (from the look of the change in set.c, this is not the case)
- it should work for gnubgids
- it would be nice to have a configuration flag to enable or disable this

reply via email to

[Prev in Thread] Current Thread [Next in Thread]