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.

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

Postby Ed Trice on Wed Aug 31, 2016 11:22 pm

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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Fri Sep 02, 2016 1:56 pm

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

Krzysztof
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Fri Sep 02, 2016 2:30 pm

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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Fri Sep 02, 2016 2:38 pm

Can I ask to make available the program.

Krzysztof
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Wed Sep 07, 2016 5:32 pm

I have a link to download the full program:

https://drive.google.com/file/d/0BzeUnPp-ZuuOcXh2bGdyVW9zTk0/view?usp=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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Mon Oct 17, 2016 6:31 am

Hi Ed.

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

- Computer White
- Computer Off


Krzysztof.
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Tue Oct 18, 2016 2:39 am

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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Tue Oct 18, 2016 2:59 am

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.
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Tue Oct 18, 2016 6:38 pm

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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Wed Oct 19, 2016 4:18 am

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.
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Wed Oct 19, 2016 3:19 pm

When the computer is white it doesn't move first. Red moves first. That means you have to make a move for red.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Wed Oct 19, 2016 3:34 pm

And what to do to program played white. I'm sorry that I ask Ed what about my request on file dll.
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Sun Oct 23, 2016 12:27 pm

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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

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

Postby Krzysztof Grzelak on Tue Oct 25, 2016 8:57 am

Thank you Ed.
Krzysztof Grzelak
 
Posts: 80
Joined: Tue Aug 09, 2016 3:25 am
Location: Poland

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

Postby Ed Trice on Fri Oct 28, 2016 10:32 pm

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.
Ed Trice
 
Posts: 64
Joined: Wed Aug 10, 2016 9:16 pm

Next

Return to Projects/Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron
class=