01

An ancient game

Backgammon is one of the oldest board games in the world, with roots going back thousands of years in the Middle East. Two players move pieces around a board according to rolls of dice, trying to bring all their pieces home first. Because of the dice, backgammon combines skill and luck: a strong player wins more often over many games, but can still lose any single game.

02

An early computer victory

In 1979, a program called BKG 9.8, written by Hans Berliner of Carnegie Mellon University, beat the reigning world backgammon champion, Luigi Villa, in an exhibition match in Monte Carlo. It was the first time a computer program had defeated a world champion in a major board game. However, Berliner acknowledged that the program had been helped by favourable dice rolls, and it was not yet clearly stronger than the best humans.

03

Learning instead of rules

Most game programs of the time relied on rules and evaluation methods written by human experts. Gerald Tesauro, a researcher at IBM's Thomas J. Watson Research Center, took a different approach. He built a neural network that would learn to evaluate backgammon positions by itself, starting with no knowledge of strategy, using a technique called temporal difference learning, formalised by AI researcher Richard Sutton in 1988.

04

How it learned

TD-Gammon played games against itself. After each move, it compared its estimate of the chances of winning with its estimate a move later, and adjusted its network to make its predictions more consistent. At the end of each game, the actual result provided a final signal. Over hundreds of thousands and eventually more than a million games, its predictions became remarkably accurate, and it learned to choose strong moves.

05

Near world-class play

By the early 1990s, TD-Gammon was playing at a level close to the world's best backgammon players. In matches against top human experts, it performed very strongly, losing only narrowly over many games. Experts were impressed that a program which had taught itself could play at such a high level, especially in a game where judgement about risk and probability is so important.

06

Teaching the experts

TD-Gammon did more than play well. It sometimes preferred moves that contradicted accepted expert wisdom, particularly in certain opening positions. When human experts analysed these choices, many concluded that the program was right. Its preferences changed how top players approached some opening moves, one of the first times an AI system had taught human experts something new about their own game.

07

A seed for modern AI

TD-Gammon showed that combining neural networks with reinforcement learning and self-play could produce expert performance without human-written strategies. The idea was hard to apply to other games at the time, partly because computers were not powerful enough. Two decades later, Google DeepMind used similar principles, with far more computing power, to build AlphaGo and AlphaGo Zero, which mastered Go by playing against itself.

08

Backgammon today

Today, backgammon programs based on neural networks, descendants of TD-Gammon's approach, play far better than any human. Players use them to analyse games, check decisions and train. The programs can estimate the exact equity, or expected value, of each move, revealing mistakes that even strong players make. Online backgammon has grown, and AI analysis has become standard among serious players, who study the programs' choices much as chess players study engines.

09

A game loved in the region

Backgammon, known as tawla in much of the Arab world and as nard or takhteh in Iran, is hugely popular across the Middle East, including the Gulf, where it is played in homes, cafés and majlis gatherings. Many people learn it as children from family members. Backgammon apps with AI opponents allow players in the region to practise against computers of any strength and analyse their games.

010

Why it matters

TD-Gammon was a quiet but crucial milestone in AI history. It showed that machines could learn complex skills from experience and even discover knowledge that experts had missed. That insight, learning by trial and error rather than following human rules, underlies many of today's most impressive AI systems, from game champions to robots and chatbots trained with reinforcement learning.

FOLLOW THE EVIDENCE

Sources & further reading

Based on published research and historical accounts. Photograph: original AI-generated illustration (Adobe Firefly). Reference organisations do not endorse this website.