Ive been working on Mainsworthy engines, I seem to be doing a balancing act, The engines work alot better but the king is terrified of check, throws material away sometimes to avoid a check, is this a known behaivour in chess prgraming?
http://wbec-ridderkerk.nl/html/details1 ... orthy.html
afraid of check
Moderators: hgm, Rebel, chrisw
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: afraid of check
"Throws away material sometimes" Yes this is possible, if your engine saw problems in the positions - mate threats coming, and others.mainsworthy wrote:Ive been working on Mainsworthy engines, I seem to be doing a balancing act, The engines work alot better but the king is terrified of check, throws material away sometimes to avoid a check, is this a known behaivour in chess prgraming?
http://wbec-ridderkerk.nl/html/details1 ... orthy.html
You may try to check your check evasion codes - does is generate complete legal moves? Also try to check your repetion code, and maybe your extension code related to check-there might be excessive extensions triggered?.
-
- Posts: 226
- Joined: Sun Mar 08, 2009 3:08 pm
- Location: Canada
Re: afraid of check
This may be off base, but I think I read somewhere that this "fear of check" can be a result of mobility, where the engine feels it has no moves..
outAtime
-
- Posts: 295
- Joined: Wed Mar 08, 2006 8:29 pm
Re: afraid of check
Usually 'throwing away material' means that the engine sees an unavoidable mate threat. If giving pieces away means not getting mated for a few plies more the engine will just do that.
If you're engine gives away pieces when there is actually no threat it might be a bug.
Roman
If you're engine gives away pieces when there is actually no threat it might be a bug.
Roman