Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How does Crafty handle draws?

Author: Robert Hyatt

Date: 06:35:16 04/11/00

Go up one level in this thread


On April 11, 2000 at 09:29:51, Colin Frayn wrote:

>>to make it resign sooner, try "resign=3"
>
>OK I'll try that.
>
>Thanks for the help,
>
>I just added resignation support into ColChess to stop wasting time playing
>through games which were well and truly lost.
>
>The way I handle resignation is rather more simplistic.  When ColChess has
>searched for a move, and has been allocated a reasonable amount of time for that
>search (i.e. more than a second) and either
>(a) Its current position is <-100 and the best move it sees is going to worsen
>this by at least another 100 points.
>(b) Its current position is <-50 and the best move will worsen this by at least
>200 points
>or (c) Its current position is <-300 and this move will not improve it.
>
>..then it resigns.
>
>It seems to work reasonably well, though it _is_ a little naive.
>
>Cheers,
>Colin


It will do badly vs humans.  Many times your program will find something
really bad your opponent can do, but he doesn't see it.  That is why I require
a bad score for 5 consecutive moves, to convince me that he does see whatever it
is Crafty sees, before resigning...



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.