Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about Evaluation Functions

Author: William H Rogers

Date: 08:54:44 03/06/02

Go up one level in this thread


What I used to do was to count all of the legal moves when generating moves and
add its total to the eval function. As you switch sides, you also count the
enemys moves also and add its total to the eval. As there are only about 40 or
so legal moves per side it does not offset the score very much, except when you
severely limit your opponents ability to move. It also can help keep you from
getting into a position where you have very little moves on you next turn.
My suggestion is to play with it.
Bill



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.