Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How does Crafty handle draws?

Author: Colin Frayn

Date: 06:29:51 04/11/00

Go up one level in this thread


>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



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.