bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Backgammon .txt format


From: Hardy Hübener
Subject: Re: [Bug-gnubg] Backgammon .txt format
Date: Sun, 01 Mar 2009 19:19:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.14) Gecko/20071210 Thunderbird/1.5.0.14 Mnenhy/0.7.5.0

Hi John,


I think you are mixing up three different things.

1) This one:

    GNU Backgammon  Position ID: 4NvBwQDgc8UBMA
                    Match ID   : cAkAAAAAAAAA
    +24-23-22-21-20-19------18-17-16-15-14-13-+  O: Weiss
    | X              O |   | O  O           X |  0 points
    | X              O |   | O  O           X | 
    |                O |   |    O           X | 
    |                O |   |                  | 
    |                O |   |                  | 
    |                  |BAR|                  |v (Cube: 1)
    |                X |   |                  | 
    |                X |   |                  | 
    |                X |   |    X           O | 
    |                X |   | O  X           O |  On roll
    |                X |   | O  X  X  X     O |  0 points
    +-1--2--3--4--5--6-------7--8--9-10-11-12-+  X: Schwarz


This is not an input format for GNUBG, but an ASCII-output, with which you can display a position as a text file (i.e. in a newsgroup like rec.games.backgammon). It's not possible to import a position from that text (only by copy&pasting the Position & Match ID to GNUBG).

2) This one:

 17 point match

 Game 1
 Hans Kr. Mathiesen : 0         Hans Liby : 0
  1) 42: 8/4 6/4                 52: 24/22 13/8
  2) 43: 13/9 6/3*               54: 25/20 24/20
  3) 44: 24/20 24/20 13/9 13/9   51: 8/3 3/2
  4) 51: 9/4 4/3                 31: 6/3 3/2
  5) 54: 13/9 13/8               65: 13/7 8/3
  6) 22: 20/18* 20/18 18/16 18/16 53: 25/20 6/3
  7) 32: 9/6 6/4                 61: 20/14 14/13
  8) 52: 8/3 4/2                 54: 13/8 8/4
  9) 32: 4/1 3/1                 21: 8/7 6/4
 10) 61: 9/8 9/3                 53: 13/8 8/5
 11) 65: 8/2 6/1                 65: 8/3 7/1
 12) 55: 16/11 16/11 11/6 11/6   52: 13/11 13/8
 13)  Doubles => 2                Drops
      Wins 1 point

 Game 2
 Hans Kr. Mathiesen : 1         Hans Liby : 0
  1)                             41: 13/9 6/5
  2) 65: 24/18 18/13             63: 24/18 8/5
  3) 31: 8/5 6/5                 61: 24/18 6/5
  4) 66: 24/18 8/2 8/2           33: 13/10 13/10 10/7* 10/7
  5) 32: 25/22 6/4                Doubles => 2
  6)  Takes                      11: 9/8 6/5 5/4 5/4
  7) 32: 13/10 6/4               41: 8/4 4/3*
  8) 11: 25/24 24/23 23/22* 10/9 55:
  9) 64: 22/16 13/9              62:
 10) 11: 16/15 15/14 9/8 9/8     65:
 11)  Doubles => 4                Drops
      Wins 2 points

This is the original JellyFish format. It can be used as an input for GNUBG (and Snowie and JellyFish). It is normally a file with either the ending .mat (for match) or .txt (as it is a normal text file). GNUBG can also save matches in this format. However, no analysis is saved with this format.


3) Snowie has it's own text format for output of analyzed matches which looks like that:

File: F:\Matches\Snowie-Format\tmp\2000 MC Runde 1 Jörgen Granstedt vs. Rolf Vetsch 17pts.txt, 19:14:23, 01.03.2009
Snowie4 Professional Edition Version 4.02 Output (Export v2.10)

--------------------------------------------------------------------
|                   Vetsch (X) vs. Granstedt (O)                   |
|                          17 point Match                          |
--------------------------------------------------------------------

 ----------------------------- Game 01 ------------------------------

 Match to 17. Score X-O: 13-10

   -------------------------- Move  1 X -------------------------
           X to play (4 1)
           +24-23-22-21-20-19-------18-17-16-15-14-13-+
           | X              O |   |     O           X |
           | X              O |   |     O           X |
           |                O |   |     O           X | S
           |                O |   |                 X | n
           |                O |   |                 X | o
           |                  |BAR|                   | w
           |                X |   |                 O | i
           |                X |   |                 O | e
           |                X |   |     X           O |
           | O              X |   |     X           O |
           | O              X |   |     X           O |
           +-1--2--3--4--5--6--------7--8--9-10-11-12-+
           Pipcount  X: 167  O: 167  X-O: 13-10/17 (1)
           CubeValue:  1

         * 1. 3  24/23 13/9                Eq.: -0,032
               0,4%  13,0%  49,4%    50,6%  12,3%   0,4%
           2. 3  13/8                      Eq.: -0,054 (-0,022)
               0,4%  12,1%  49,1%    50,9%  12,6%   0,4%
           3. 3  24/20 24/23               Eq.: -0,055 (-0,023)
               0,4%  11,1%  49,3%    50,7%  12,3%   0,4%
           4. 3  13/9 6/5                  Eq.: -0,073 (-0,042)
               0,4%  13,0%  48,5%    51,5%  13,1%   0,4%
           5. 3  24/20 6/5                 Eq.: -0,091 (-0,059)
               0,4%  11,6%  48,5%    51,5%  13,2%   0,4%
           6. 3  13/9 8/7                  Eq.: -0,172 (-0,140)
               0,4%  12,5%  46,2%    53,8%  14,1%   0,5%
           7. 3  24/23 6/2                 Eq.: -0,175 (-0,143)
               0,4%  11,2%  46,2%    53,8%  14,0%   0,5%
           8. 2  24/20 8/7                 Eq.: -0,167 (-0,135)
               0,3%  11,1%  46,3%    53,7%  14,1%   0,5%
           9. 2  24/23 8/4                 Eq.: -0,178 (-0,147)
               0,3%  11,2%  45,9%    54,1%  14,2%   0,5%
          10. 2  8/3                       Eq.: -0,211 (-0,179)
               0,4%  11,4%  45,2%    54,8%  14,9%   0,6%
          11. 2  8/4 6/5                   Eq.: -0,243 (-0,211)
               0,3%  10,8%  44,4%    55,6%  15,3%   0,5%
          12. 2  6/2 6/5                   Eq.: -0,249 (-0,217)
               0,3%  10,5%  44,4%    55,6%  15,5%   0,5%
          13. 2  8/7 6/2                   Eq.: -0,302 (-0,270)
               0,3%  10,5%  43,1%    56,9%  16,4%   0,6%
          14. 1  8/4 8/7                   Eq.: -0,393 (-0,361)
               0,2%   9,9%  40,5%    59,5%  16,9%   0,6%

 

So what of the formats are you talking of? What do you want to do with it? The usual format to record matches is the text file originated from good old JellyFish (# 2).


Hope this helps,

Hardy  ;-)



John schrieb:
Hi List,

It would seem I was on the wrong tack with my last e-mail. Having done a lot of Googling and playing with Snowie I've found the text format to be the following:

Match Length;?;?;?;?;Top Player Name 1 (White);Bottom Player Name -1 (Black);?;Top Player;Bottom Player;Cube Level;Cube Owner;Bar;Point 24;Point 23;Point 22;Point 21;Point 20;Point 19;Point 18;Point 17;Point 16;Point 15;Point 14;Point 13;Point 12;Point 11;Point 10;Point 9;Point 8;Point 7;Point 6;Point 5;Point 4;Point 3;Point 2;Point 1;?;Die 1;Die 2;

If I've got it wrong or someone knows what the ? represent I'd be grateful.

TIA,

John


_______________________________________________ Bug-gnubg mailing list address@hidden http://lists.gnu.org/mailman/listinfo/bug-gnubg

-- 
Hardy's Backgammon Pages --> www.hardys-backgammon-pages.com

reply via email to

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