Moby Dam

Discussion about development of draughts in the time of computer and Internet.
Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Wed Jul 08, 2015 14:48

Harm Jetten wrote:Look at the bottom of the engine.log file.
Moby Dam always leaves old information in, only appending new information to the end.
I looked sadly still the same.

Harm Jetten
Posts: 40
Joined: Thu Sep 24, 2009 18:17

Re: Moby Dam

Post by Harm Jetten » Wed Jul 08, 2015 14:51

Please post a screenshot of your shortcut properties.

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Wed Jul 08, 2015 15:01

Here you are.

Image

Harm Jetten
Posts: 40
Joined: Thu Sep 24, 2009 18:17

Re: Moby Dam

Post by Harm Jetten » Wed Jul 08, 2015 15:13

Aha! Now change the Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e C:\damend
and try again.

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Wed Jul 08, 2015 15:34

Harm Jetten wrote:Aha! Now change the Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e C:\damend
and try again.
Only now everything is fine. :D

Wed Jul 08 15:20:44 2015
Moby Dam (Jul 5 2015)
compiled with -g -O3 -Wall -march=nehalem -flto -fprofile-use -DPF -DETC -DLMR -DKIL
created tt with 33554432 entries (2^25), size=512MiB
wiped tt with 33554432 entries
book positions = 8507
all 2-piece db files present
all 3-piece db files present
all 4-piece db files present
all 5-piece db files present
all 6-piece db files present

Thank You Harm. I have a question. Is it possible to play a program like you at the Olympics.

- how to set the time in the program, eg. 20 minutes for 75 moves
- what you need to do to program began playing white
- what you need to do to program began playing black

Harm Jetten
Posts: 40
Joined: Thu Sep 24, 2009 18:17

Re: Moby Dam

Post by Harm Jetten » Wed Jul 08, 2015 16:03

In the second screenshot of http://hjetten.home.xs4all.nl/mobydam/mobydam.html
showing Dam 2.2, you can see how to setup the moves and time per game,
and which side plays which color. This is how I used it in the Computer Olympiad.

And now, how to do automated play on 2 computers.

Computer 1: start Moby Dam.

Computer 2: start the other program.
It can be Dam 2.2, Horizon, Dragon Draughts, or any other program designed to act as DamExchange Initiator.

We'll take Dragon Draughts as an example.

- choose menu item Window - DamExchange
- click the button Connect to other program
- in the dialog, enter the computername of Computer 1 into the field IPaddress/hostname, leave Port number at 27531, click Continue
- look at the Damexchange window (it may be hidden behind the main window), it should say: Connected to computername:27531
- click Settings and enter number of moves, time per game, etc.
- click button Single game or Match, as desired.

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Wed Jul 08, 2015 17:44

Thank You Harm. To program played white is I have to run as follows:

- run the program Moby Dam
- run the program Dam 2.2.7
- choose Game - DameExchang - Make connection
- in the next window Dam click on OK
- in window DamExchange appears inscription Winsock startup completed. Trying to connect to 127.0.0.1 at port 27531. Select notification: FD_CONNECT.
- choose Game - DameExchang - Start Game
- in the window Dam write:
time to play - minutes
number of moves per game - moves
option - This side plays - White - Black
Name: The name of the program

If the program Moby Dam to play this white mark the on the color game Black.

If you want to play black this program we do it as follows:

- run the program Moby Dam
- run the program Dam 2.2.7
- choose Game - DameExchang - Make connection
- in the next window Dam click on OK
- in window DamExchange appears inscription Winsock startup completed. Trying to connect to 127.0.0.1 at port 27531. Select notification: FD_CONNECT.
- choose Game - DameExchang - Start Game
- in the window Dam write:
time to play - minutes
number of moves per game - moves
option - This side plays - White - Black
Name: The name of the program

If the program Moby Dam to play this black mark the on the color game White.

One very important note. It must be enabled Player-Player.

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Wed Jul 08, 2015 21:23

It's a shame that the program supports multi-core parallel search.

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Thu Jul 09, 2015 09:56

Harm I have a question. What must command if the file damend is pasted into the program mobydam.

Harm Jetten
Posts: 40
Joined: Thu Sep 24, 2009 18:17

Re: Moby Dam

Post by Harm Jetten » Thu Jul 09, 2015 11:34

Krzysztof, I don't understand the question. What do you mean?

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Thu Jul 09, 2015 11:41

Harm Jetten wrote:Krzysztof, I don't understand the question. What do you mean?
I have a folder damend placed in the folder mobydam. What will be the command to load the bases ends in the program mobydam.

Harm Jetten
Posts: 40
Joined: Thu Sep 24, 2009 18:17

Re: Moby Dam

Post by Harm Jetten » Thu Jul 09, 2015 11:44

I see. Change the shortcut Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e damend
(without the C:\ before the damend)

Krzysztof Grzelak
Posts: 1313
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Moby Dam

Post by Krzysztof Grzelak » Thu Jul 09, 2015 11:52

Harm Jetten wrote:I see. Change the shortcut Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e damend
(without the C:\ before the damend)
Harm thank You. Now it is all right. When can we expect new versions of the program.

nufje
Posts: 16
Joined: Fri Oct 26, 2012 14:16
Real name: Toby Hage

Re: Moby Dam

Post by nufje » Thu Jul 23, 2015 11:45

Hello,

Thank you very much for providing this program.
I'll get following error when compiling on linux:

make
gcc -g -O3 -Wall -march=nehalem -flto -DPF -DETC -DLMR -DKIL -DCFLAGS="-g -O3 -Wall -march=nehalem -flto -DPF -DETC -DLMR -DKIL" -c dxp.c
dxp.c:1:0: error: bad value (nehalem) for -march= switch
/*
^
make: *** [dxp.o] Error 1

How can i solve this problem?

Harm Jetten
Posts: 40
Joined: Thu Sep 24, 2009 18:17

Re: Moby Dam

Post by Harm Jetten » Thu Jul 23, 2015 11:51

gcc versions before 4.9 don't recognize the -march=nehalem option.
You can replace it in the Makefile by either -march=native (optimizing for your particular processor model)
or by -mpopcnt.

Post Reply