Author: Viktor Popjuk
Date: 03:04:52 02/10/99
please, I need some help.
I'm writing my first chess program and i try implement null-move, but I'm not
fully understand it.
I write something like this:
alphabeta(a,b,d)
{
if not in check and last_move not null_move
then
make null_move
val = -alphabeta(-b,-a,d-1)
unmake_move
??? what done here with val?
??? return if val >alpha+xxx?
??? and what return ?
endif
...
normal alphabeta
}
Thanks for any help.
Viktor.
Sorry for my bad english.
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.