Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: need advice

Author: Bas Hamstra

Date: 01:10:31 10/05/99

Go up one level in this thread


On October 04, 1999 at 19:23:43, Scott Gasch wrote:

>Hi.  With a lot of help from this community I have been developing a chess
>engine in my spare time.  I am a little discouraged by its performance playing
>on online chess servers.
>
>Despite implementing and testing many "features" the program still plays ~2000
>rated (ICC) chess.  By watching games I have concluded that the reason for this
>is the weakness of its eval routine.  It does not pay attention to its king
>safety enough and is not very good at endgames.
>
>What are some king safety mechanisms people use in their evals?  Has anyone
>written a significantly different eval to use in endgame situations?  How do
>you define endgame?

What I do about king safety is

- bonus for having castled
- penalty losing castling rights
- penalty advancing castling pawns
- big penalty if oppo queen is near king
- penalty if oppo piece near king
- big penalty for wrecked castling pawns
- big penalty if king is driven from back rank

It is just a first start. It is not really cheap. I had to tone down several
terms or else it becomes far to speculative, and sacs material which it later
regrets. I found that with good extensions you need a less extensive king safety
eval.

Endgame stage you can define just by counting total material.


Regards,

Bas Hamstra.








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.