User avatar
greedyG
Site Admin
Posts: 194
Joined: Sun Oct 24, 2010 8:32 pm

Analyze your games for free

Tue Jun 05, 2012 5:21 pm

Download the free gnubg program to analyze your matches played on greedygammon.
Import a match into gnubg, run the analysis the see where you made mistakes
Greedygammon matches are saved in your Documents folder under GreedyG
Gnubg can import Jellyfish format (jf.mat) games
GreedyG bots are based on gnubg software

Find out all about gnubg at http://www.gnubg.org
.
Here is a quick video of gnubg download and analysis on greedygammon
https://www.youtube.com/watch?v=KOb5lpzHhWY

Backgammon is a luck/skill game similar to card games like poker and gin rummy. Estimating and maximizing your winning probability is key
http://www.download-texas-holdem-poker.com

User avatar
greedyG
Site Admin
Posts: 194
Joined: Sun Oct 24, 2010 8:32 pm

Re: Analyze your games for free (details)

Tue Jun 11, 2013 8:13 pm

Here is a detailed step by step instructions on using gnubg to analyze matches played on GreedyGammon.

(1) Go to http://www.gnubg.org and download the gnubg backgammon software and install it on your computer

(2) Open the gnubg software and click on "OPEN" (there is a toolbar icon for it)
You will get a dialog prompting you to navigate to a folder and file location for the match you wish to import. Since backgammon matches are saved in a variety of different formats from different programs, gnubg offers you a choice which kind of file you want to import. Select jf.mat (jellyfish match file) as that is the format that Greedygammon uses. The location of your GreedyGammon match logs is in your documents folder=>GreedyG=>jfmat.
If the jf.mat file is good (ie no errors) the match will load up in gnubg and you will see the first game displayed.

(3) Now you want to analyze this match so click the menu Analyze=>Analyze match
The analysis will begin and you will see a progress bar on the bottom right. If you have a fast computer it will finish fast or slower machine might take a few minutes depending on the length of the match and how many moves were played.

(4) when the analysis is complete you can scroll through the match and look for where you made any errors. The errors will be highlighted. Click on an error and look at what the move was and what it should have been.
You may be confused by the many numbers shown. These numbers are not so important. They do show your MWC (match winning chances) chances of getting gammoned, backgammoned etc. This is not so important if you just want to see your errors. Just scroll down the list of moves looking for the highlighted in red errors. Click on that and the position will appear on the board. See what the roll was and how you played it then look at the top move in the analysis window ( you may have to click menu {"view analysis pane) if it isnt visible. It show be below the moves list. YOu can see image example of how it looks in the blunders section of this forum.
To navigate through your match, click the arrow buttons on the top right to move forward to the next error or the next game. Gnubg can catch most errors but it does sometimes make mistakes so if you are not convinced that something is wrong, you can do a "rollout". Gnubg is a popular program so if you have any questions, google it and you will likely find a good answer. ex "how to do a rollout in gnubg"


(5) you can also view overal statistics for your match by clicking menu Analyze=> match statistics. This will give you an overall grade for your match, and there is also a luck factor analysis. If you were lucky very lucky or unlucky gnubg will rate a match and give you a "go to bed" (very unlucky) or "better luck next time" (unlucky) or "good dice man" (lucky) or "go to las vegas immediately" (very lucky)

gnubg is open source software which means it is free and developed by volunteers. The level of programming expertise that goes into gnubg is of the highest level. GnuBG uses a sophisticated artificial intelligence algorithm pioneered by an IBM Bell Labs PhD researcher Gerry Tesauro back in the 1990s. Here is a geeky page on AI programming

http://www.sciencedirect.com/science/article/pii/S0004370201001102

The gnubg project was started 1999 by Gary Wong a then computer science student, and many top level programmers have contributed to the effort. You can find a list at gnubg menu help=>about
Here is an interview by Gary about gnubg

http://gtw.freeshell.org/interview.html


A full gnubg Tutorial can be found here

http://www.bkgm.com/gnu/AllAboutGNU.html

GnuBG is a great way to improve your game because without an analysis of the match, you have no way to know how good or bad you played. The luck factor of BG means you could play a terrible match and win by luck or play a perfect game and still lose. So it is good to know how you did irregardless of the outcome of the match

Gnubg may have some quirks and some graphic interface features slightly different than standard windows programs but it works great and is a wonderful tool to have access to for FREE.
Backgammon is a luck/skill game similar to card games like poker and gin rummy. Estimating and maximizing your winning probability is key
http://www.download-texas-holdem-poker.com

User avatar
greedyG
Site Admin
Posts: 194
Joined: Sun Oct 24, 2010 8:32 pm

Re: Analyze your games for free

Sun Nov 02, 2014 12:27 pm

UPDATE: The latest version of GreedyGammon 1.0.49 has an option to automatically launch gnubg.exe at the end of a match, with the completed match all ready to go so you have no excuse not to analyze your games. Again... analyzing your match does not have to be a tedious arduous process. You can load up a match and quickly scan it for big blunders (.200+ double blunder) Which you will have plenty of if you are a beginner. With backgammon, you cannot rely on the outcome of the match to determine your level of play. Sometimes you will play very well and still lose. When that happens and your analysis reveals a low error rate, you can feel as good about the match as if you had won.
Backgammon is a luck/skill game similar to card games like poker and gin rummy. Estimating and maximizing your winning probability is key
http://www.download-texas-holdem-poker.com

User avatar
greedyG
Site Admin
Posts: 194
Joined: Sun Oct 24, 2010 8:32 pm

Re: Analyze your games for free

Mon Dec 11, 2017 6:03 pm

Current versions of GreedyGammon 3.x use the command line Gnubg-cli.exe to run the analysis and save it as sgf file in your documents folder
Documents->GreedyG-sgf. As this happens in the background while you may continue playing, you may find that 2 or more games in analysis mode can slow down you pc unless it is super powerful. This can be remedied by setting the priority level of Gnubg-cli.exe to "idle". This setting can be found in your Users folder C:\Users\yourUserName\.gnubg in file gnubgautorc. Open this file in notepad and search for "priority" You will see a line that reads "set priority nice 0" change that to "set priority idle". This will enable you to run analysis in the background without slowing down your processor to a crawl.
Backgammon is a luck/skill game similar to card games like poker and gin rummy. Estimating and maximizing your winning probability is key
http://www.download-texas-holdem-poker.com

Return to “Free GnuBG Analyzer”