Discussion of chess software programming and technical issues.
Moderators: hgm, Harvey Williamson, bob
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
-
JVMerlino
- Posts: 932
- Joined: Wed Mar 08, 2006 9:15 pm
- Location: San Francisco, California
Post
by JVMerlino » Tue Jan 10, 2012 5:07 pm
lucasart wrote:StockFish's implementation of limited strength is more complicated than that. I suggest you have a look at the source code and find out for yourself. It basically uses the multipv and choosed between the first few lines based on the strength parameter and a condition to avoid blunders. See search.cpp
Interesting. Johan's implementation in The King was different and simpler to understand, but I don't know if it produced a more interesting/useful result to the user. In a nutshell (at least, the way he described it to me) all he did was add/subtract a random amount of centipawns to the eval of every root move (within a range specified by how much the strength was lowered from optimal).
jm
-
whittenizer
- Posts: 85
- Joined: Sun May 29, 2011 9:56 pm
- Location: San Diego
Post
by whittenizer » Tue Jan 10, 2012 6:42 pm
Hi there,
Thanks for the info. Yeah, I'm playing around with a strength option in my silverlight UI and trying to figure out how to accurately calculate the strength based off of options I pass in with the "go" command. I'm going to leave the default strength of "100" as is but I'll play around with the movetime and a few others to get a nice balanced playing strength.
Thanks for the reply,
David