Mater adapted for Free Pascal

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

chessica
Posts: 906
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Mater adapted for Free Pascal

Post by chessica »

Roland Chastain wrote: Wed May 29, 2024 1:30 am Mater for Free Pascal has a new home page.

I polished a bit the whole project (without essential modification) and made binaries for Linux and Windows.
Hello, I have asked questions about the mater; Is the mate distance limited to a
maximum of mate in 12? And why are there two engines there? Or do I see that wrong?
How do you work with it?
User avatar
Roland Chastain
Posts: 673
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: Mater adapted for Free Pascal

Post by Roland Chastain »

chessica wrote: Mon Mar 03, 2025 10:52 am Hello, I have asked questions about the mater; Is the mate distance limited to a
maximum of mate in 12? And why are there two engines there? Or do I see that wrong?
How do you work with it?
Hello. Sorry for the late answer. I have just seen your message.

Mater is a little program written for Turbo Pascal. I slightly modified it, mainly to understand how it works. With Franz Huber help, I fixed some bugs.

It's a command-line tool. You can see how to use it here.

I also made a GUI. I know that the usage of the GUI is not very clear. You load a position, either from a file, or from the clipboard, and you ask Mater to solve it. And yes, I included another (more efficient) engine, Chest.

Mater is not the most efficient mate finder available. The depth is not limited, but the engine will take a long time to search at high depth. Even depth 12 is too much. You can notice that the depth 12 example from the demo is a sequence of checks: the engine is called with -check option.

I hope I answered your questions.
Qui trop embrasse mal étreint.