[Top][All Lists]

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

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

From: Philippe Michel
Subject: Re: [Bug-gnubg] Embarrassing question about TanBoard type.
Date: Mon, 23 Apr 2012 21:24:51 +0200 (CEST)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

On Sun, 22 Apr 2012, Øystein Schønning-Johansen wrote:


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.
reply via email to

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