So, my problem is: I want UCI, but I don't want to write it, I want to copy-paste
Thanks!
Moderator: Ras
Hi Andranikplayjunior wrote:Can anyone tell me where to find the simplest engine with UCI/Winboard? I have downloaded FirstChess and want to make it stronger than my newbie friend, but over the weekend. I have never written a chess engine before, and my "C" skills are, so to say, rather mediocre. However, the task is not impossible.
So, my problem is: I want UCI, but I don't want to write it, I want to copy-paste
Thanks!
How it compares the number of nodes?playjunior wrote:Btw, one more question: FirstChess has a really low node count while I have added almost no knowledge, just a couple of piece mobility tables. Is it because of the board representation and, as a result, a very slow move generator?
Thank you once again for your help!pedrox wrote:How it compares the number of nodes?playjunior wrote:Btw, one more question: FirstChess has a really low node count while I have added almost no knowledge, just a couple of piece mobility tables. Is it because of the board representation and, as a result, a very slow move generator?
TSCP uses board 12x10 = 120 and also used mailbox. If you change the generator of moves and the generator of captures of DanaSah (based in FirstChess) by the TSCP to will have the same speed. Even the function Incheck of FirstChess is twice fast that it of TSCP.
So I think that the number of nodes is not only low by the generator, but also may not use other tricks, and things in the search, as hash tables, futility prunning, LMR, null move, etc.
If you want a generator fast of moves then perhaps you should think about bitboards, possibly as fast or more than any other system, to gain speed on 64 bits. The bitboards are not only used in the generator, also help in the evaluation.