[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Determining Moves after the fact
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Determining Moves after the fact |
Date: |
Sat, 2 Sep 2006 09:10:42 +0200 |
User-agent: |
Mutt/1.4.2.2i |
On Fri 01 Sep 2006 (17:33 -0600), Peter Carlson wrote:
Please don't submit html messages to the mailing list.
In answer to your question, the easiest way to find a representation
of a move which changes one board position into another (there may be
more than one way of going between the two) is to generate a list of
legal moves and the resulting positions and compare your desired
result to that list. Within gnubg, eval.c has a routine
GenerateMoves() which produces a list of legal moves and the resulting
positions.
--
Jim Segrave address@hidden