bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Embarrassing question about TanBoard type.


From: Øystein Schønning-Johansen
Subject: Re: [Bug-gnubg] Embarrassing question about TanBoard type.
Date: Tue, 24 Apr 2012 12:09:48 +0200

On Mon, Apr 23, 2012 at 9:24 PM, Philippe Michel <address@hidden> wrote:
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

reply via email to

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