[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-XBoard] [bug #26127] Enhancement: XBoard support for MiniChess
From: |
h.g. muller |
Subject: |
Re: [Bug-XBoard] [bug #26127] Enhancement: XBoard support for MiniChess 2009 |
Date: |
Sat, 03 Oct 2009 09:11:00 +0200 |
This patch as given is inompatible with the latest source, as the code it
patched
has mostly been changed beyod recognition, because it has been already patched
to do similar things as this patch aims to do (changing board size and such).
The up side is that the new code can be patched really easily to implement this
variant. The promoted archbishop (indicated by 'I' in variant fairy) could
be used
to represent the augmented Bishop, and moves could be added for it in the move
generator.
It is probably better to wait a bit with this until after some code
refactoring: this
variant has deviating gme-end rules for stalemate, and I would really like
to indicate
such rule modification by global flags that could be set from
InitPosition(), so that
the rest of the code could test them in a variant-independent was.
Currently the code
is littered with conditionals like
if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantXiangi
|| ...)
to dish out the variants where, say, stalemated counts as a loss, which have
been accumulating complexity as I added more variants, and it would be really
good to clean that up as a part of the MiniChess patch.
At 02:02 3-10-2009 +0000, Arun Persaud wrote:
Update of bug #26127 (project xboard):
Status: None => Need Info
Assigned to: None => apersaud
_______________________________________________________
Follow-up Comment #1:
can you please test if the patch still works against the latest source...
there has been tons of changes. If it is still ok, let me know and I'll apply
it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26127>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-XBoard mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-xboard