Ltchess3

Discussion of chess software programming and technical issues.

Moderators: hgm, chrisw, Rebel

laurietunnicliffe
Posts: 22
Joined: Wed Nov 17, 2021 1:19 am
Full name: Laurie Tunnicliffe

Ltchess3

Post by laurietunnicliffe »

Hey folks.
You might like to have a look at ltchess3.
I have rewritten ltchess2 to use nibble board representation (just for fun) and simplifier the Eval to be
just PST blended with history scores and only double pawns.
It seems to out play ltchess2.
It can be downloaded from weebley.
:D
Aldus
Posts: 27
Joined: Mon Sep 03, 2018 12:59 pm
Location: Romania
Full name: Cristi Ilovan

Re: Ltchess3

Post by Aldus »

From your site:
To compile it use either freepascal or virtualpascal.
Virtual Pascal compilation error:
Error 3: Unknown identifier 'QWord'.
Also, why not put an executable yourself, for those who just want to test it without downloading and installing a Pascal compiler?
User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Ltchess3

Post by mvanthoor »

laurietunnicliffe wrote: Fri Oct 20, 2023 2:53 am Hey folks.
You might like to have a look at ltchess3.
I have rewritten ltchess2 to use nibble board representation (just for fun) and simplifier the Eval to be
just PST blended with history scores and only double pawns.
It seems to out play ltchess2.
It can be downloaded from weebley.
:D
Hi :) Congratulations on the new version. However, if you want something to look at it, you'd better provide an executable for download, at the minimum. And even then, people might not trust the engine. If it's open source, it would be best to put the source code on GitHub or GitLab, in a public repository, and provide (at least) compilation instructions there.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
laurietunnicliffe
Posts: 22
Joined: Wed Nov 17, 2021 1:19 am
Full name: Laurie Tunnicliffe

Re: Ltchess3

Post by laurietunnicliffe »

OK, I have now added a linux exe.
Aldus
Posts: 27
Joined: Mon Sep 03, 2018 12:59 pm
Location: Romania
Full name: Cristi Ilovan

Re: Ltchess3

Post by Aldus »

laurietunnicliffe wrote: Sun Jan 07, 2024 3:09 am OK, I have now added a linux exe.
I managed to compile it for Windows with fpc 3.2.2.

Your program seems to have a bug. With 5 seconds/move, in the following position:

[d]4B3/8/1p2bN2/3pR3/8/5kP1/3n1P2/6K1 b - - 1 51
it tries to move Kg2 (f3g2), which is illegal.
laurietunnicliffe
Posts: 22
Joined: Wed Nov 17, 2021 1:19 am
Full name: Laurie Tunnicliffe

Re: Ltchess3

Post by laurietunnicliffe »

Thanks,
I can reproduce that, and will fix it today.
laurietunnicliffe
Posts: 22
Joined: Wed Nov 17, 2021 1:19 am
Full name: Laurie Tunnicliffe

Re: Ltchess3

Post by laurietunnicliffe »

Fixed and uploaded. :oops: :oops: :oops:

Thanks for finding that.
Aldus
Posts: 27
Joined: Mon Sep 03, 2018 12:59 pm
Location: Romania
Full name: Cristi Ilovan

Re: Ltchess3

Post by Aldus »

You're welcome.

You may want to implement a perft function and test a set of standard positions, to check if there are no errors left in the move generator routines.

See here:

https://www.chessprogramming.org/Perft_Results

and here:

https://www.chessprogramming.org/Perft

Edit: I see you have a perft function, maybe you could find more positions to test. Some engines have a whole bunch of them, with published results.
Aldus
Posts: 27
Joined: Mon Sep 03, 2018 12:59 pm
Location: Romania
Full name: Cristi Ilovan

Re: Ltchess3

Post by Aldus »

laurietunnicliffe wrote: Fri Oct 20, 2023 2:53 am It seems to out play ltchess2.
It can be downloaded from weebley.
:D
Can you provide the source code (and binary) for ltchess1 and ltchess2? :)
laurietunnicliffe
Posts: 22
Joined: Wed Nov 17, 2021 1:19 am
Full name: Laurie Tunnicliffe

Re: Ltchess3

Post by laurietunnicliffe »

If you PM me I can send ltchess2 (0X88 board) and
ltchessbb (bitboards for pawns)

Laurie