Author: Daniel Karlsson
Date: 12:27:46 09/20/99
Go up one level in this thread
I'm only guessing here but: You need a separate movelist for each ply. The way you do it now, every call to examine() overwrites the movelist for the previous ply and that's why you have to make a second call to gen(). For a start, try something like move_list move[MAX_PLY]; and modify gen() to store the moves in move[ply].
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.