Author: Severi Salminen
Date: 10:34:40 04/11/00
Go up one level in this thread
Hi! >The code example above will work if Evaluate() returns the evaluation value >computed from whites or black perspektive depending on whos move it is. >Another way is to always return whites evaluation and use return -Evaluate(pos) >respectively return Evaluate(pos) depending on who's move it is. Yes, thanks, I understand now totally. I somehow thought that Evaluation returns a value which is NOT based on who's turn it is (well, my evaluation function returns). So in my example the values must be negated once more to get the right move. Severi
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.