From the Board to XG: How Technology Revolutionized Modern Backgammon

11 min read

From the Board to XG: The technological evolution of modern backgammon

Until a few decades ago, backgammon players relied primarily on personal experience, instructional books, coaches, and other players' analyses to determine whether a move was correct. Today, programs such as eXtreme Gammon (XG) can analyze an entire match, identify checker-play mistakes and doubling cube errors, and quantify a player's mistakes.

This transformation did not happen overnight. The history of backgammon software began with early artificial intelligence research in the 1970s, accelerated with neural networks in the 1990s, and entered a new phase with the expansion of commercial applications, open-source software, and advanced analysis engines.

This article traces the evolution of backgammon technology from BKG 9.8 to XG and explains how computers changed not only the strength of play but also the ways players learn and evaluate their decisions.

The Beginning of Backgammon Software History: BKG 9.8

One of the most significant early events in the history of backgammon artificial intelligence took place on July 15, 1979. On that day, BKG 9.8, a program developed by Carnegie Mellon University researcher Hans Berliner, faced reigning world champion Luigi Villa in Monte Carlo.

The computer program won the exhibition contest by a score of 7–1. According to Berliner's research account, this was the first known instance of a computer program defeating a world champion in direct competition in a recognized intellectual game.

However, the result did not establish that BKG was consistently stronger than the best human players. The randomness of the dice influenced the outcome, and Berliner acknowledged that the dice distribution had favored the program.

BKG 9.8's scientific importance lay in its approach to positional evaluation. Rather than relying entirely on searching through large numbers of future moves, the program used positional features and evaluation functions to select moves.

This approach highlighted a fundamental principle in developing backgammon engines: to play well, a computer must be able to estimate the value of a position.

TD-Gammon: Machine Learning Enters Backgammon

The next major development emerged in the early 1990s with TD-Gammon. IBM researcher Gerald Tesauro used neural networks and a method known as Temporal Difference Learning to train a computer to play backgammon.

What distinguished TD-Gammon from many earlier programs was that humans did not need to program every strategic principle directly. By playing against itself and learning from game outcomes, the neural network could gradually improve its positional evaluations.

Research published in 1992 demonstrated that neural networks could achieve a remarkable standard of play through self-play, even with very limited initial knowledge. Adding expert-designed features further improved the program's performance, bringing it closer to expert human play.

According to IBM's historical account, TD-Gammon recorded 19 wins and 19 losses in 38 games against human opponents during a backgammon World Cup event in 1992.

TD-Gammon became an important early example of reinforcement learning applied to a complex problem, demonstrating that a computer could learn strategic patterns through playing experience.

Jellyfish: Neural Networks Enter Commercial Backgammon Software

In 1994, Jellyfish, developed by Fredrik Dahl, entered the market and played an important role in expanding the practical use of neural networks in backgammon.

Before powerful commercial applications appeared, some of the most advanced game-analysis technologies were largely confined to academic and research environments. Jellyfish enabled more players to examine games and positions with a strong computer engine.

Players could enter checker arrangements, compare alternative moves, and use the resulting analyses to study strategy.

One important capability associated with this generation of software was the use of rollouts to examine decisions. A rollout tests a position through numerous simulated games.

As these tools became more widely available, computer analysis gradually entered backgammon instructional literature. Works such as Kit Woolsey's New Ideas in Backgammon used computer-generated analysis to examine and reassess strategic concepts.

Snowie: Expanding Backgammon Match Analysis

In 1998, Snowie became an important name in backgammon analysis. The software's development is associated with Olivier Egger, and historical sources describe it as one of the most advanced engines of its time.

Snowie's importance extended beyond playing strength. Its analytical features and user interface helped players review complete matches and identify mistakes alongside the engine's recommended moves.

This development broadened the role of backgammon software. Computers were no longer merely powerful opponents; they were becoming tools for evaluating the quality of human decisions.

Snowie holds an important place in the history of modern backgammon instruction because it helped popularize post-match analysis.

GNU Backgammon: Professional Analysis Through Open-Source Software

In the late 1990s, GNU Backgammon, also known as GNUbg, took a different approach. Developed as free and open-source software, it made backgammon analysis engines accessible outside the commercial software ecosystem.

The project's early development was associated with Gary Wong and contributions from various developers. Its first beta versions appeared in 1999.

Important GNU Backgammon capabilities include:

  • Playing against a computer powered by neural networks
  • Evaluating positions and comparing different moves
  • Analyzing complete matches
  • Examining doubling cube decisions
  • Performing rollouts for more detailed analysis
  • Recording and reviewing game annotations and errors
  • Working with match records and different file formats

The availability of a powerful open-source project allowed players, researchers, and developers to use backgammon analysis technology without depending entirely on commercial products.

FIBS and the Internet: The Beginning of Online Backgammon

The technological transformation of backgammon was not limited to computational engines. The internet also played a major role in changing how players competed and learned.

In 1992, Andreas Schneider launched the First Internet Backgammon Server, commonly known as FIBS. The service allowed players from different parts of the world to compete online.

The growth of internet backgammon increased the importance of digitally recording moves and matches. Players could save their game files and transfer them to specialized software for analysis.

The combination of online play, digital match records, and analysis engines laid the foundation for a new learning cycle: play a match, save the moves, identify mistakes, and practice difficult positions again.

How Did eXtreme Gammon, or XG, Come into Existence?

One of the major milestones in backgammon software history was the introduction of eXtreme Gammon, or XG, in June 2009.

According to the developer's official history, GameSite 2000 began developing its backgammon engine in 2002. After several years of development, the project led to the release of eXtreme Gammon in 2009.

XG quickly became one of the best-known tools among professional players and coaches. It uses neural networks to evaluate positions and provides features for match analysis, doubling cube evaluation, rollouts, and player performance measurement.

The mobile version of eXtreme Gammon was released for iPhone and iPad in July 2012, followed by an Android version in July 2014.

An important feature of XG is that it does more than recommend stronger moves. It can also quantify the difference between a player's decision and the engine's preferred choice.

How Did XG Change Backgammon Analysis?

One of XG's most important applications is evaluating decisions through the concept of equity.

Equity expresses the expected value of a position or decision within a particular evaluation model and set of game conditions. In money games, equity is generally expressed in units related to the base stake. In match play, decisions can also be evaluated using measures related to the probability of winning the match.

To illustrate the concept, suppose an engine evaluates three possible moves in a position and produces the following hypothetical values:

  • Move one: Equity = +0.18
  • Move two: Equity = +0.05
  • Move three: Equity = -0.12

In this example, the first move has the highest equity. Choosing the second move instead of the first results in an equity loss of 0.13, while the third move is 0.30 equity units below the first.

These figures are illustrative only and do not represent a real position or a specific XG analysis.

Such evaluations help players understand differences between seemingly similar moves and examine the magnitude of their decision-making errors.

What Is PR in Backgammon, and How Is It Related to XG?

One of the best-known metrics used in XG analysis is Performance Rating, usually abbreviated as PR.

This metric is calculated using recorded decision errors and the software's evaluation method. It is used to assess the quality of a player's performance in a match or across a collection of games.

Under the usual interpretation of PR, a lower value indicates more accurate play and fewer errors.

However, PR should not be confused with a guaranteed probability of winning, an official player ranking, or the result of a match. A player can record a good PR and still lose because of dice outcomes or the opponent's decisions.

Comparisons between PR values from different matches should also account for the number of decisions, match length, analysis settings, and sample-size limitations.

Checker Errors vs. Cube Errors in Backgammon Analysis

Analysis software can examine player mistakes in two main categories.

Checker Errors

A checker error occurs when a player, after rolling the dice, chooses a move with a lower expected value than the best option identified by the engine's analysis.

For example, selecting an excessively defensive move in a position where attacking would produce greater value may be recorded as a checker-play error.

Cube Errors

These errors involve decisions such as failing to offer a double at the appropriate time, doubling under unfavorable conditions, or incorrectly accepting or rejecting a doubling proposal.

Separating these types of mistakes helps players determine whether their main weaknesses lie in checker movement or doubling cube decisions.

What Is a Rollout in Backgammon Software?

A rollout is one of the most important computational methods for evaluating backgammon decisions with greater precision.

In this method, an engine plays out a particular position through numerous simulated games and uses the results to estimate the expected value of different options.

For example, when two moves have only a small difference in their initial evaluations, running additional simulations may provide more precise evidence about their relative values.

However, rollouts also depend on engine settings, the playing policies used to complete simulated games, and statistical methods. Increasing the number of simulations generally reduces statistical uncertainty, but it does not guarantee that every limitation of the underlying model has been eliminated.

Rollout results should therefore be interpreted with attention to their settings, statistical uncertainty, and the characteristics of the position.

How Did Computers Change Backgammon Strategy Instruction?

Before the widespread adoption of powerful engines, backgammon teaching often relied on general principles and the experience of expert players. These principles remain valuable, but they are not always sufficient to identify the best move in complex positions.

Analysis engines demonstrated that two moves can both appear reasonable to a human player while having different expected values.

Sometimes a move that looks dangerous can be evaluated more favorably than a conservative option when the structure of the game, cube position, and future probabilities are taken into account.

This transformation made numerical evidence and the analysis of exceptional positions increasingly important alongside traditional strategic principles in modern instruction.

The New Generation of AI Backgammon Engines

The development of backgammon engines did not end with XG. In subsequent years, researchers and developers continued investigating new neural network architectures and more advanced training methods.

Projects such as WildBG, Raccoon Backgammon, and Open Sage are examples of efforts to develop new engines, apply machine learning techniques, and create extensible analysis tools.

Some of these projects combine self-play, supervised learning, multi-ply analysis, and rollouts.

However, a newer architecture or larger neural network does not automatically establish that an engine is stronger than established alternatives. Comparing engine strength requires independent testing, consistent conditions, and sufficiently large samples.

GNU Backgammon also remains an important example of open-source software in this field.

A Timeline of Technological Evolution in Backgammon

Several major milestones help illustrate the history of backgammon software:

  • 1979 — BKG 9.8: Hans Berliner's program defeated reigning world champion Luigi Villa in an exhibition contest.
  • 1992 — TD-Gammon: Demonstrated the ability of neural networks to learn backgammon strategy through self-play.
  • 1992 — FIBS: Expanded opportunities for online backgammon through an internet server.
  • 1994 — Jellyfish: Brought powerful neural-network technology into commercial backgammon software.
  • 1998 — Snowie: Advanced engine strength and match-analysis tools.
  • 1999 — GNU Backgammon: Introduced early versions of an open-source analysis project.
  • 2009 — eXtreme Gammon: Introduced XG and expanded professional performance-evaluation tools.
  • 2020s: Continued development of neural engines and new research and open-source projects.

This timeline shows that technological progress in backgammon resulted from a series of independent yet connected achievements in artificial intelligence research, software development, and internet communication.

Does Better Software Necessarily Produce Better Players?

Access to a powerful engine does not automatically improve a player's skills. Software can calculate recommended moves, equity differences, and error magnitudes, but players must understand the reasoning behind those decisions and apply that knowledge to future situations.

For example, if an engine reports that a move lost 0.18 equity, the number alone does not explain why the player selected that move or which misunderstanding led to the decision.

A coach or experienced analyst can examine checker structure, timing, home-board strength, match conditions, and existing threats to turn that numerical result into a practical lesson.

From this perspective, the most effective use of technology combines computer analysis with strategic study, focused practice, and reviewing recurring mistakes.

From the Wooden Board to XG: The Legacy of the Technology Revolution

The history of backgammon software traces a journey from early positional evaluation systems to neural networks, powerful analysis engines, and numerical methods for measuring performance.

BKG 9.8 demonstrated that a computer program could defeat a world champion. TD-Gammon revealed the importance of learning through experience. Jellyfish and Snowie brought computer analysis closer to players as a practical educational tool. GNU Backgammon expanded open access to this technology, while eXtreme Gammon helped establish more precise methods for examining decisions.

The result was not simply stronger software. The concept of playing quality also changed: beyond the outcome of a match, the decision-making process itself could now be examined and its errors measured.

Nevertheless, analysis engines are not complete replacements for human understanding. They provide tools for evaluating and testing decisions, but transforming those results into strategic knowledge still requires study, practice, and interpretation.

For this reason, the real technological revolution in backgammon can be seen in how players relate to their mistakes: every match can now become a source of data, analysis, and learning.

Telegram channel