#Is it necessary to do "position startpos moves" or "position startpos" after doing "ucinewgame"?

7 messages · Page 1 of 1 (latest)

scenic pike
#

What the title says.
I was wondering if I should do:
ucinewgame
isready
position startpos
go depth 5

or do:
ucinewgame
isready
position startpos moves
go depth 5

or if it is not necessary to do either of those and I can just do this and get the exact same result:
ucinewgame
isready
go depth 5

#

All 3 ways work for me, so I was just curious if it affected how stockfish behaved when using or not using the "position"

brisk forge
#

if you send ucinewgame only, it will default to startpos

#

if you want to do something different besides startpos, you should send position startpos moves ... or position fen ... moves ...

clever scroll
#

anyways, stockfish is really meant to be used with a GUI which should always send a position command before searching

scenic pike
#

Thanks for the comments, in short, if you use "ucinewgame" it is not necessary to use "position startpos" (the result is the same), and it may be necessary in future versions (assumption)