[Top][All Lists]

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

Re: random seeds (was Re: [gnugo-devel] predictability vs. strength)

From: Gunnar Farnebäck
Subject: Re: random seeds (was Re: [gnugo-devel] predictability vs. strength)
Date: Sun, 16 May 2004 00:39:49 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI)

Evan wrote:
> Actually, now that I look at the code in twogtp.pike, I'm quite unclear
> how it gets the new random seed for the new game.  It would seem that it
> expects gnugo to decide on a new random seed as a result of either the
> boardsize or clear_board command,

From gtp_clear_board():

  /* If this is called with a non-empty board, we assume that a new
   * game will be started, for which we want a new random seed.
  if (stones_on_board(BLACK | WHITE) > 0)

> which twogtp.pike then gets with get_random_seed. However, this
> seems to depend on behavior of GNU Go that is not specified by the
> GTP v2 specification.

The specification doesn't say anything about random seeds at all.


reply via email to

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