Closed LocutusOfPenguin closed 6 years ago
I was not planning to implement ponder and ponder hit but I'm not against trying it out.
The go searchmoves is very easy, I can get that quite fast. Surprisingly I didn't even notice that option in the protocol (shh don't tell anyone) :p
Main reason i changed my mind is, i also overlooked "ponder" flag. Please keep it secret too :-) :-) Now picochess only allows to enter these (=several) analytics modes, if the engine supports that (i check "ponder" flag for that) and the new "permanent brain" mode, needs "ponderhit" (internally im using python-chess, a name y know already, ha).
Alternative move is a quite nice feature to have. But not having "ponder" is alot more restriction in usage with newer versions. Perhaps checking for this flag is "too big jump", hmm
I took a short(!) look inside yr code, and since y have transistions, dont y just need to transfer from "analysis" to "thinking" in case of a ponderhit (putting the time management in charge again). Ponder is this (your) analysis mode, and you just need to provide this flag to the outside, no? Forgive me, if im saying nonsense! => looks for me, you only need to do most of work on the uci.c (& xboard.c)
Jürgen
Yes, it is almost as simple as transitioning to analysis mode the only difference is to not print bestmove
that I can do with a ponder flag
For ponderhit
actually I have to read up on ponder, I don't know how it works in UCI
go searchmoves
is done, please test it if you can.
youre awsome quick. Sadly it seems to not work see (also not on picochess):
uci
id name WyldChess
id author Manik Charan
option name SyzygyPath type string default
I thought searchmoves had to be the last option in UCI. I'll have to change a little bit if that is not so. (I just went by the example in wbec-ridderkerk)
see last example => also doesnt work
That's interesting... last example works for me. Maybe I didn't push the commit?
ok, my error....i still struggle with yr "build.sh" ..SORRY
Ok, I think I fixed it now
tested it on picochess (now). e4, d5 ...whats to play e5, alot of alt moves, produce alternatives not always the alternative in order (often give up the e4 pawn), but the stuff itself works.
What do you mean often gives up the e4 pawn! Maybe I didn't understand clearly.
The alternatives are not in order because of the move sorting.
if i forbit e5, exd5 , nc3, d3 ...i should come up with another e4 safe move, like Bd3 , Qe2,f3 .. But i get Nh3, a3, h3 and so on => i looses the pawn then.
Youre searching arent y?
Can you join me here in this chat please, this wall is a bit annoying
I've implemented pondering and searchmoves, if you test them and they're working fine, do comment and close the issue please. Thanks.
it works. Thanks.
Hi, im only interested in uci - but they seem to be missing on xboard too.
Can y implement the following too:
Thanks for consideration. Jürgen