[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Zadeh and mec mets

From: Michael Petch
Subject: Re: [Bug-gnubg] Zadeh and mec mets
Date: Sat, 22 Jun 2013 13:59:16 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 22/06/2013 4:34 AM, Rick Janowski wrote:
> Could someone please advise me on how to run and use the mec program,
> which I managed to download but cant run – this would be very helpful.

If you are running windows I have made available a copy of the original
mec program as found @ http://www.bkgm.com/articles/Thornberg/mec.c

The compiled windows version of that is here:

There is a version of mec.c within gnubg based on the original. The
program is pretty much the same except the defaults are different if run
with no parameters. The GNUGB version is here:


If you wanted to build your own you'd need a gcc compiler and the mec.c
file and then you build it with somwthing like:

gcc mec.c -DMEC_STANDALONE -o mec

That creates an executable called mec.

Now to use the program is pretty simple. Open up a command prompt and do
something like:

cd \path\to\mec-ct
mec 9 .26 .5

First parameter is the match length to be used to generate the table
Second parameter is gammon rates (.26= 26%)
Third parameter is the % of game that the favorite wins (.5 = 50%).

Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304

reply via email to

[Prev in Thread] Current Thread [Next in Thread]