🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #3994

Re: What is 'Contempt'?

#3994
From: Tim Mann
Date: Wed, 10 Jul 1996 00:00
33 lines
1825 bytes
Tony McCarthy's answer on this point is incorrect.  Contempt does
affect move selection.  GNU Chess does not know how to offer or accept
a draw.

The "contempt" parameter is subtracted from the value the search
engine places on the game ending in a draw (which is ordinarily 0).

A drawn game is normally valued at 0 because you are neither ahead nor
behind when the game ends in a draw.  On the other hand, when the game
has ended in a draw, you no longer have any winning chances!  So you
may prefer to avoid a draw even when you feel you are objectively
behind in the game, hoping your opponent will make a mistake later.
You're especially likely to do this if your opponent is weaker than
you are.  That's why the parameter is called "contempt"; the more
contempt you feel for your opponent's skill, the worse a position you
can be in and still want to avoid conceding a draw.

Example: Set up the following position with GNU Chess as black, black
to play, and set contempt to 4000.  GNU Chess will move its king away,
allowing the pawn to promote, because stalemating White looks even
worse to it!  (Obviously this contempt value is way too big!)

 - - - - - - - k   (White = k, p; Black = K)
 - - - - - K - p
 - - - - - - - -
 - - - - - - - -
 - - - - - - - -
 - - - - - - - -
 - - - - - - - -
 - - - - - - - -

	--Tim
Technical Details
Message-ID: <4s1ap6$neq@src-news.pa.dec.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <31E184E8.2F56@seanet.com> <4rtulv$hfl@goodnews.voicenet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,76ead986479148d0
X-Google-Attributes: gid10d71d,public
From: mann@pa.dec.com (Tim Mann)
Subject: Re: What is 'Contempt'?
Date: 1996/07/10
Message-ID: <4s1ap6$neq@src-news.pa.dec.com>
X-Deja-AN: 167660630
references: <31E184E8.2F56@seanet.com> <4rtulv$hfl@goodnews.voicenet.com>
organization: Digital Equipment Corp., Systems Research Center
reply-to: mann@pa.dec.com
newsgroups: gnu.chess