[computer-go] libego questions on playout

Łukasz Lew lukasz.lew at gmail.com
Sun Mar 18 11:25:48 PDT 2007


Hi,

On 3/17/07, Peter Christopher <peterchristopher at yahoo.com> wrote:
> Hi LL or any others who know,
>
> I've been playing with libego.  Nice work, thanks for distributing it.
>  I am working on understanding some of the details of uct.cpp, in
> particular how it does playouts in life-death and ko situations.  I
> will try to add some helpful comments to the code once I have it
> figured out, so that others can more quickly understand it.

You can also ask question (to me) and I will answer in form of comments.
I found this a quite effective way of putting comments in proper places .
( to avoid: i++; // increases i :-] )

>
> Perhaps you could help me out with a few basic questions.
>
> Does the board code (board.cpp) currently treat ko, suicide, multiple
> ko, etc, according to standard go rules or is there work remaining to
> be done for it to be precisely correct?

simple ko is supported in board.cpp

board.cpp::play_no_pass returns play_ko
when illegal move (due to simple ko) was tried.

>
> Does the playout code (playout.cpp run() ) follow the board code
> exactly in examining the legality of "all possible moves"?

Unfortunately, I do not understand Your question.

simple_playout::run uses
simple_playout::play_one

which look for move that is not simple ko and not *single stone suicide*

Best Regards,

>
> Thanks,
> Peter
> _______________________________________________
> computer-go mailing list
> computer-go at computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>


More information about the computer-go mailing list