Basics

Discussion of chess software programming and technical issues.

Moderator: Ras

Henk
Posts: 7251
Joined: Mon May 27, 2013 10:31 am

Basics

Post by Henk »

This position gave a stalemate so I was already busy debugging stalemate detection. But looks like it is only a user interface bug for SkipperWinb prints f2f1 even if it is a minor promotion.

[d] 8/2p3k1/2P3r1/8/8/8/5p1K/8 b - - 0 75
Daniel Anulliero
Posts: 773
Joined: Fri Jan 04, 2013 4:55 pm
Location: Nice

Re: Basics

Post by Daniel Anulliero »

Henk wrote:This position gave a stalemate so I was already busy debugging stalemate detection. But looks like it is only a user interface bug for SkipperWinb prints f2f1 even if it is a minor promotion.

[d] 8/2p3k1/2P3r1/8/8/8/5p1K/8 b - - 0 75
Debug your under promotion scheme too 😉
f2f1=R Kh2h3
Rf1h1#

PS: I think the engine must send the type of pièce promoted to the GUI :
f2f1q , f2f1r etc...
Otherwise , the GUI think it's a queen promotion by default ...
I had this kind of bug with Isa :
http://www.talkchess.com/forum/viewtopi ... ht=#645613
Henk
Posts: 7251
Joined: Mon May 27, 2013 10:31 am

Re: Basics

Post by Henk »

There are more basic problems. Fifty moves rule. Simple endgames like KRK. They don't give it more ELO. So I miss motivation to fix them or I'm just too lazy.

Also Skipper's user interface doesn't allow a human user to do under promotion for it has to create a new window with a menu.

Are there bad playing chess programs that have none of these basic errors ?

I think fairy-max does not support under promotion.
Daniel Anulliero
Posts: 773
Joined: Fri Jan 04, 2013 4:55 pm
Location: Nice

Re: Basics

Post by Daniel Anulliero »

Henk wrote:There are more basic problems. Fifty moves rule. Simple endgames like KRK. They don't give it more ELO. So I miss motivation to fix them or I'm just too lazy.

Also Skipper's user interface doesn't allow a human user to do under promotion for it has to create a new window with a menu.

Are there bad playing chess programs that have none of these basic errors ?

I think fairy-max does not support under promotion.
Welllll. .. if you want a not too weak engine , you must fix all the small problem 😊
If you KRK don't work well you miss 1/2 points ...so you lose some elo
But if you are too lazy , better writing à tic tac toe program , more easy than chess 😉
Henk
Posts: 7251
Joined: Mon May 27, 2013 10:31 am

Re: Basics

Post by Henk »

Actually I think KRKN end game occurs more frequently than KRK or otherwise KRKNP. See Skipper often playing that endgame and always losing.
Stan Arts
Posts: 179
Joined: Fri Feb 14, 2014 10:53 pm
Location: the Netherlands

Re: Basics

Post by Stan Arts »

Image
Daniel Anulliero
Posts: 773
Joined: Fri Jan 04, 2013 4:55 pm
Location: Nice

Re: Basics

Post by Daniel Anulliero »

Stan Arts wrote:Image
???
:lol: :lol:
Daniel Anulliero
Posts: 773
Joined: Fri Jan 04, 2013 4:55 pm
Location: Nice

Re: Basics

Post by Daniel Anulliero »

Henk wrote:Actually I think KRKN end game occurs more frequently than KRK or otherwise KRKNP. See Skipper often playing that endgame and always losing.
Welllll. ... KRKN is usualy à draw ...
I have a scoop for you ... you have bugs somewhere 😊😉
Need to fix them...
Where can I see skipper playing ? Any download?
Personnaly I'll plan to release Isa soon , sometimes , the Testers or the "magicians of compiler" can help to fix tons of things .
You should release Skipper too
Henk
Posts: 7251
Joined: Mon May 27, 2013 10:31 am

Re: Basics

Post by Henk »

Yes but also need two fingerprints, about 64 euro and have to wait a week before getting new passport.
mar
Posts: 2674
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Basics

Post by mar »

Henk wrote:I think fairy-max does not support under promotion.
But it can detect stalemates, in the position you posted it's irrelevant if the engine supports underpromotion or not, there's a plenty of other options to win.
You can't really blame the interface here - not sending promotion piece is engine's fault.

What should it do if you don't send the suffix?
- test if it's a stalemate and underpromote?
- do a search for you and choose the best move?

c'mon, this is problem is trivial to fix...