EPD with multiple best moves

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

jordanbray
Posts: 52
Joined: Mon Aug 11, 2014 3:01 am

EPD with multiple best moves

Post by jordanbray »

What is the syntax for an EPD with multiple best moves? Is that defined? The chessprogramming wiki ( https://chessprogramming.wikispaces.com ... escription ) defines the "bm" opcode to have the operand "best move(s)" which seems to indicate that I will see a position with multiple moves. Is that done by listing all moves as the value, multiple "bm" commands or is this an error? I can't seem to find an example in my searching.

Thanks.
Dann Corbit
Posts: 12541
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: EPD with multiple best moves

Post by Dann Corbit »

It is just a list of equally good moves.

For instance:

2Q4Q/R4Q2/3Q4/1Q4Q1/4Q3/2Q4K/Q4RNp/3B1Nkq w - - acd 5; acs 0; bm Ba4 Bb3 Bc2 Be2 Bf3 Bg4 Bh5 Kg3 Kg4 Kh4 Nd2 Ne1+ Nf4+ Nfe3 Ng3 Nge3+ Nh4+ Nxh2 Q3c4 Q3c5 Q3c6 Q3c7 Q8c4 Q8c5 Q8c6 Q8c7 Qaa1 Qaa3 Qaa4 Qaa5 Qaa6 Qab1 Qab2 Qab3 Qac2 Qac4 Qad2 Qad5 Qae2 Qae6 Qba4 Qba5 Qba6 Qbb1 Qbb2 Qbb3 Qbb4 Qbb6 Qbb7 Qbb8 Qbc4 Qbc5 Qbc6 Qbd3 Qbd5 Qbd7 Qbe2 Qbe5 Qbe8 Qbf5 Qca1 Qca3 Qca5 Qca6 Qca8 Qcb2 Qcb3 Qcb4 Qcb7 Qcb8 Qcc1 Qcc2 Qcd2 Qcd3 Qcd4 Qcd7 Qcd8 Qce1 Qce3 Qce5 Qce6 Qce8 Qcf3 Qcf5 Qcf6 Qcf8 Qcg3 Qcg4 Qcg7 Qcg8 Qda3 Qda6 Qdb4 Qdb6 Qdb8 Qdc5 Qdc6 Qdc7 Qdd2 Qdd3 Qdd4 Qdd5 Qdd7 Qdd8 Qde5 Qde6 Qde7 Qdf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