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.
_______________________________________________
Bug-gnubg mailing list
Bug-gnubg@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to