Page 1 of 1
how to use the OGS score estimator in your program
Posted: Wed Jul 15, 2020 11:57 am
by deungsan
Recently I have completed a sgf viewer that shows stone moves on a board. And I would like to have a score estimator in it so that it can tell the scores of black and white and which stones are dead. I am wondering if I can use the OGS score estimator(
https://github.com/online-go/score-estimator) in my program (in c++ or javascript). If yes, how do I compile the score estimator(Window 10, msvc2017)? Can anyone tell me details? Or is there a better score estimator you would like to recommend?
Re: how to use the OGS score estimator in your program
Posted: Wed Jul 15, 2020 11:11 pm
by Javaness2
I'm not sure what you mean. The OGS repo has a score estimator written in C++ and they say it can be translated to Javascript with emscripten.
What language are you developing in?
Re: how to use the OGS score estimator in your program
Posted: Thu Jul 16, 2020 12:53 am
by deungsan
"What language are you developing in?"
Thanks in response.
I wrote it in javascript.
I have never used emscription, so no idea how to convert the c++ source of OGS score estimator to javascript.
Re: how to use the OGS score estimator in your program
Posted: Thu Jul 16, 2020 2:27 am
by Javaness2
Best place to ask would be the OGS forum itself - Anoek is active there