On Mon, Apr 23, 2012 at 9:24 PM, Philippe Michel philippe.mich...@sfr.frwrote:
On Sun, 22 Apr 2012, Øystein Schønning-Johansen wrote:
Hi,
The board type in GNU Backgammon is typedef'ed as a 2d array
anBoard[2][25], but which player is on roll? Is the player with index 0 or
the player with index 1 ? I'm getting confused.
Player 1 is on roll, at least when it comes down to evaluating the
position. See for instance the comment in EvalRaceBG() in eval.c.
Thanks, that was what I thought. However I got confused by a bug in my
own code. I was so confused for a while that I thought (at least for a
while) that this was changed in GNU Backgammon.
-Øystein
___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnubg