Re: Scoring estimate question
Posted: Mon May 24, 2010 11:49 am
Why does SE only work with the offline client? Does it contain unverifiable or native code?
Life in 19x19. Go, Weiqi, Baduk... Thats the life.
https://lifein19x19.com/
wms wrote:Yeah, the score estimator was written by a Mr. Yoshikawa. He was a friend of Richard Bozulich's. I met him in Japan and he offered his board evaluation code to KGS, I built the estimator out of it from that.
I do not know how the algorithm works. Several people have looked at the code (I give it away when Mr. Yoshikawa gives me permission to). They all wanted to make small, simple changes (work with non-19x19 boards, let the player say that a group is alive or dead, etc.)...they all ran away screaming when they saw the code. It is very, uhhh, peculiarly, written.
You'll have to find and ask Yoshikawa yourself.Marcus wrote:This makes me VERY curious. Any chance you could get permission to pass along the code to me? I don't need it or anything, I just want to look at the code. Anything that resists refactoring like that MUST me interesting.
wms wrote:You'll have to find and ask Yoshikawa yourself.Marcus wrote:This makes me VERY curious. Any chance you could get permission to pass along the code to me? I don't need it or anything, I just want to look at the code. Anything that resists refactoring like that MUST me interesting.
But here's a hint as to the troubles with it:
* No comments
* Functions thousands of lines long
* All variables (and most functions and even many of the classes) have single-letter names
* Chars used as enums (e.g., code like "if (y < 5) { z = 'j'; }" is all over the place.)
So you've been warned.
wms wrote:You'll have to find and ask Yoshikawa yourself.Marcus wrote:This makes me VERY curious. Any chance you could get permission to pass along the code to me? I don't need it or anything, I just want to look at the code. Anything that resists refactoring like that MUST me interesting.
But here's a hint as to the troubles with it:
* No comments
* Functions thousands of lines long
* All variables (and most functions and even many of the classes) have single-letter names
* Chars used as enums (e.g., code like "if (y < 5) { z = 'j'; }" is all over the place.)
So you've been warned.