marekpiotradamczyk / bestiazwroclawia

7 stars 7 forks source link

Connect search to UCI, make bot runnable #15

Closed mateusz2173 closed 3 months ago

mateusz2173 commented 4 months ago

We want to connect UCI goand position commands to search. go depth 5 should run search with given depth, on finish it should output bestmove <move> where move is in format [a-h][1-8][a-h][1-8]

position command should set root position for search.

Sample input

position startpos moves e2e4
go depth 3

Sample output

bestmove e7e5

Optional: check if we can find mate in 2 :-)

position fen r1bq2r1/b4pk1/p1pp1p2/1p2pP2/1P2P1PB/3P4/1PPQ2P1/R3K2R w
go depth 3
mateusz2173 commented 4 months ago

start it after #7 #10 are finished