GUI Checkers 1.11 64-bit with 6-piece perfect play databases

Topics about Checkers programming and other projects.
I hope to keep users informed of the ACF website projects.
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

GUI Checkers 1.11 64-bit with 6-piece perfect play databases

Post by Ed Trice »

I recompiled GUI Checkers into a 64-bit application.

Image

If you have 64-bit hardware, and at least 2 GB of RAM to give to the program, this version will be much improved.

As you can see from the image above, on my machine, this program searches over 17 million positions per second from the starting position.
The node count is displaying a number > 6 billion, indicating the 64-bit counter is working fine (otherwise a number > 4.2 billion would become negative).
You can also see (db: 234881) on the screen shot above. This shows the number of times the 6-piece database has been probed.
Even from the starting position, it can hit the database, in this case over 200,000 times.

My changes to version 1.10:

1. All node counts are now 64-bit variables. That means once the number of positions explored > 4.2 billion, the counter won't become a negative number, which really represents a 32-bit counter that has overflowed.

2. Visual Studio 2015 was used to compile it as a native 64-bit application.

3. I made the hash table 100 times larger. When doing very deep searches using a custom time/depth (I use depth = 99 or time = 9999 seconds/move) the search depths will be incredibly deep.

4. The program requires 1.6 GB of RAM to load the 6-piece perfect play databases + the new extended hash table. So a machine with at least 2 GB of RAM free is needed.

5. This version displays the new creation date (August 31, 2016) and the fact that I ported it to a 64-bit environment.

The author's changes from 1.05 to 1.10

1. The move generator is a faster bitboard implemention (the older version used an array move generator)

2. I gave Jonathan Kruezer my 6-piece database access code + perfect play databases, which are now probed in RAM as it searches. This is a huge performance gain over the older version.


If you want version 1.11, which is presently not available anywhere, please let me know.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

Can I ask You to make available the program in the full version.

Krzysztof
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

Here is an example of what I meant by probing the 6-piece perfect play database in RAM.

From this 12-piece bridge ending, GUI Checkers 1.11 can see a forced swap into the databases, plus it knows how many moves It takes to win in the database position. So it can add together the moves from the database to the number of moves it takes to force the trades, and make the winning announcement even in the 12-piece position.

Image

This was just a simple example, but you can see how this is powerful information. The program will always pick the shortest path to victory, and also pick the shortest database win from among all of the database winning options.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

Can I ask to make available the program.

Krzysztof
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

I have a link to download the full program:

https://drive.google.com/file/d/0BzeUnP ... sp=sharing

This will download a .zip file. Decompress this file, and it will create one folder. Move that one folder anywhere you like, for example the root of your C drive.

DO NOT: Rename any file or any folder. That will cause the databases not to be recognized.

This program contains the 6-piece perfect play databases loaded into RAM + a very large hash table for better results for long searches.

It is a 64-bit app, so you need 64-bit hardware and a 64-bit operating system in order to run it.

It requires about 1.6 GB of RAM to run since the databases are uncompressed for fastest access.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

Hi Ed.

I'm sorry to write but the program do not work with the following features:

- Computer White
- Computer Off


Krzysztof.
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

Krzysztof Grzelak wrote:Hi Ed.

I'm sorry to write but the program do not work with the following features:

- Computer White
- Computer Off
My version plays fine under both of the aforementioned situations.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

But unfortunately there is a problem. The program never plays white and always red. Even as selecting the option in the program "Computer White" playing red instead of white. Ed and I have a huge request for You. Can I ask You to write a file dll. so that it can be used in CheckerBoard. Please try to make it for the match " Alex vs. machine ", that begins on the day 22.10.2016. More details about the match can be found here viewtopic.php?f=1&t=3744

Krzysztof.
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

Krzysztof Grzelak wrote:But unfortunately there is a problem. The program never plays white and always red. Even as selecting the option in the program "Computer White" playing red instead of white. Ed and I have a huge request for You. Can I ask You to write a file dll. so that it can be used in CheckerBoard. Please try to make it for the match " Alex vs. machine ", that begins on the day 22.10.2016. More details about the match can be found here viewtopic.php?f=1&t=3744

Krzysztof.
There is no way I'm doing all of that work, sorry.

And my version plays red and white perfectly fine, so you must be doing something incorrect.

Here is what a freshly downloaded copy looks like on my machine.

Image

And after successfully starting up, it shows the 6-piece perfect play databases and the opening book position count

Image

Red to move on the default 2 second setting, opening book off, just to test the program

Image

Switching sides and letting white move, it also hits the endgame databases 5 times

Image

Turning off the computer and playing a few moves by hand

Image

Setting up for a custom, deep search

Image

Clicking the "Go" button after letting it search

Image

Conclusion: Everything is working fine.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

Hi Ed.

At the outset, I ask you very to make a file dll. under the CheckerBoard.

As for the problem that I described above, I am attaching a picture.

Image

I started the program Gui Checkers 1.11. The options "options" clicked on " Flip Board ". Board turned later in " options " I chose " Computer White ".
I click on the button " GO ". Program instead of playing white is the first move made red.

Krzysztof.
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

When the computer is white it doesn't move first. Red moves first. That means you have to make a move for red.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

And what to do to program played white. I'm sorry that I ask Ed what about my request on file dll.
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

Krzysztof Grzelak wrote:And what to do to program played white. I'm sorry that I ask Ed what about my request on file dll.
It's OK. It's just I am "not the guy for the job." The real person to talk to is Ed Gilbert, and we chatted on the phone today. Ed is the subject matter expert on the Checkerboard program, and he as recently as yesterday made some improvements to it. I gave Ed all of my source code to GUI Checkers 1.11 so that he can convert it to Checkerboard at his leisure.

What would take me two weeks to do (in Checkerboard) Ed Gilbert could do in an afternoon probably.
Krzysztof Grzelak
Posts: 125
Joined: Tue Aug 09, 2016 3:25 am
What do you like about checkers?: Tactics and debuts
Location: Poland
Contact:

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Krzysztof Grzelak »

Thank you Ed.
Ed Trice
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm
What do you like about checkers?: I like checkers programming, most notably Perfect Play Databases for the endgame.

Re: GUI Checkers 1.11 64-bit with 6-piece perfect play datab

Post by Ed Trice »

Krzysztof Grzelak wrote:Thank you Ed.
There is a new version of GUI checkers that will now play the time controls and use the opening book. Ed Gilbert just released the new version tonight.
Post Reply