ArcticXWolf / AXWChessbot

A simple chess engine written in Golang.
https://lichess.org/@/AXWChessBot
5 stars 0 forks source link

Needs to sacrifice queen #8

Open Wikunia opened 3 years ago

Wikunia commented 3 years ago

I have to admit that I was a bit sick of letting my engine loose against yours so I just played myself :smile:

In general it played quite well but maybe you can figure out why it didn't see the defensive move Ra7 to prevent me from winning the queen. I felt it wasn't really a far into the future plan as I even missed it myself a move earlier :joy:

Thanks for the game :wink: https://lichess.org/BuMSIwqF/white#58

ArcticXWolf commented 3 years ago

Hey,

sorry for the late reply.

I guess this is just a problem of search depth.. I added the position to my test suite of problematic positions and with a search depth of 4 it plays the wrong move, but with a search depth of 5 it plays Ra7. (Which makes sense, at 5 plies the rook can recapture the queen, so it can see the better material score).

Maybe I need to do the multiprocessing next ^^

Wikunia commented 3 years ago

Hmm I thought the quiescence search should pick that up but I'll think about that again.