Soberango had a problem about wich I asking here before: if sees mate in 4 before see mate in 2, cause alpha beta, choice move for mate in 4 because the result is the same.
It was suggested that it must evaluate better mate in 2 than in 4 to solve it.
OK, I did it for 0.06.0 version I´m working in, was very easy to implement and works fine.
The point is that actually I think I wrongly thought this problem was of the same kind that this:
Sometimes being able to capture a piece right now, postponed it for following moves not seeing, cause "horizon effect", that opponent will could save this piece if it was not captured right now.
But actually I could not easy see how to do it using some similar way I used to the case of mate said upon. The problem is that in mate cases, there are no further moves after that so evaluation is made at the moment of the mate. But here, there exists moves beyond the possible capture and then when the evaluation is made, is the same for actual position when was the piece captured.
Well, first I thought in adding some pararell kind of score that track when pieces was captured.... but being the objetive of 0.07.0 version the adding of iterative deepening, actually I think this (iterative deepening) will solve this problem, so I do not need to add any "pararel" evaluation or anything as messy!
Then my question is first if I understand correctly what iterative deepening is and second if it is correct my reasoning about that this solve my previous problem.
1st: what is called "iterative deepening" is to not just to search first to ply 1, later play 2 and so on but at the same time choice for the following search the previous best move as the first now to cut better the tree for this next ply, I´m right? (Actually Soberango start search at ply 1, then if have time ply 2 and so on but do not choice the best previous move as the first of next ply search).
2nd: starting the next ply search by the best move, Soberango will do not postponed the capture of a piece anymore cause the "horizon effect" of previous depth was shorter and the possibilitie of capture that piece later did not exists and the alpha beta now will do not replace the option of early capture by a later capture cause will have the same value and the early capture option was choiced before. i´m right?
Thanks for your time if somone reach this point of my question and the same if not anyway!


