Stockfish - set contempt factor?

Discussion of chess software programming and technical issues.

Moderator: Ras

Bookup

Stockfish - set contempt factor?

Post by Bookup »

I added the UCI command...

contempt 25

...to the MasterChess 7000 startup when it uses Stockfish. Is there a line I can play that will show that it's working?
User avatar
Eelco de Groot
Posts: 4676
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: Stockfish - set contempt factor?

Post by Eelco de Groot »

I don't believe there is a way to set contempt or value of draws in Stockfish with the UCI options, could not find it, so probably this does not do anything. Maybe the GUI does something with this, I don't know MasterChess, -ChessMaster 7000?- but Stockfish does not recognize it.

You would have to compile your own version and change some things in the program but there is not yet any code in place to accept this input. Changing VALUE_DRAW in the program and recompile would do something but I don't know exactly if it would have the desired effects, it's untested.

Regards, Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan