If you simply return a value near to zero when you find a repetition, then you can achieve both results. Maybe zero is not always a good value, because this would let the engine to force a repetition even if it is just a few centipawns down. It could be a variable value, from -100cp at start down to zero in the final.op12no2 wrote:Ah yes I see. Historically my very early Lozzas were walking into rep draws, so in my head the rep test is to avoid rep, but you can also look at it the other way as you say, to try and force one.bob wrote: Not sure what you mean. Would you not want to choose a draw over being material behind??? If you don't check, you would not know it was possible...
Simple triple repetition handler
Moderators: hgm, Rebel, chrisw
-
- Posts: 859
- Joined: Mon Aug 10, 2009 10:05 pm
- Location: Italy
- Full name: Stefano Gemma
Re: Simple triple repetition handler
Author of Drago, Raffaela, Freccia, Satana, Sabrina.
http://www.linformatica.com
http://www.linformatica.com