Not logged inRybka Chess Community Forum
Up Topic The Rybka Lounge / Computer Chess / Simple question about UCI protocol
- - By punter11235 (**) [lt] Date 2012-04-09 09:29
Hi,

I am thinking about writing some simple tools to interact with chess engines. I've read UCI documentation I found on the net but it's not clear to me what is the best way to get evals for all legal moves in given position. I would like to do the following things:
a)get scores for all legal moves in given position
b)get scores for subset of all legal moves in given position (which I am going to specify)
c)get scores and best lines found for all legal moves in given position

All of the above after chosen time/depth would be great too.

Is it possible to directly do with UCI protocol or do I have to separately feed every position resulting from all legal moves to the engine ? (this seems to me as terrible waste of resources though).

Help please :)
Parent - - By Vempele (Silver) [fi] Date 2012-04-09 09:37
a) "setoption name multipv value 300" (or the engine's maximum)
b) "go infinite searchmoves e2e4 d2d4 c2c4" along with a)
c) See a)

> All of the above after chosen time/depth would be great too.


Replace "infinite" with "depth n" or "movetime n" (in milliseconds).
Parent - By punter11235 (**) [lt] Date 2012-04-09 09:42
Thank you very much, works like a charm :)
Up Topic The Rybka Lounge / Computer Chess / Simple question about UCI protocol

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill