gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] gnugo without computer


From: Arend Bayer
Subject: Re: [gnugo-devel] gnugo without computer
Date: Mon, 17 Mar 2003 19:55:27 +0100 (CET)

Kenneth Owen Stanley wrote:

> I am using GNU Go libraries inside my own program.

> Works fine.  But
>
>   (after initializing, resetting engine, etc..)
>
>   gnugo_play_move(0,0,BLACK); /* first move */
>   showboard(0);
>   gnugo_play_move(3,2,WHITE);
>   showboard(0);
>   score_estimate=gnugo_estimate_score(score_upper,score_lower)
>
> causes a Segmentation Fault.

I think you need to call silent_examine_position(...) before calling
gnugo_estimate_score(...).

You can peek at gtp_estimate_score() in play_gtp.c for how this works.

> Thank you for any help- I am looking forward greatly to
> using GNUGo as a platform for applying learning methods
> to Go!

Good luck with that!

Arend






reply via email to

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