Skip to content
OneGammon

The engine behind OneGammon's computer

Meet Marlin

Marlin taught itself backgammon. Nobody showed it a single human game. It played against itself a million and a half times and worked out, game by game, which positions win.

Drawing: Marlin weighing its options, one checker and the points it could move to.

How Marlin learned

The way you would, if you could play a lifetime of games in a few days.

  1. It started knowing nothing

    On its first game Marlin knew only the rules. Its moves were random, and it lost to everyone.

  2. It played itself, 1.5 million times

    After every move it looked at the position again and asked: is this better than I thought? Only the result of each game told it for certain. Slowly, its sense of a good position sharpened.

  3. It found its own ideas

    Priming, holding games, when to run and when to wait. Marlin found them on its own, the way strong players learn them over years.

A long tradition

In 1992 a program called TD-Gammon learned backgammon by playing against itself, and surprised the world's best players. Some of its moves looked wrong to them, until they studied them and changed how they played.

The strongest backgammon programs since have been built on that idea. Marlin is OneGammon's own, trained from scratch, and it keeps improving.

2.6Performance rating at Expert, Marlin's strongest level. Lower is stronger.

How strong is Marlin?

GNU Backgammon, one of the strongest programs there is, graded every decision Marlin made in 200 matches at each level. At Expert, Marlin plays with a performance rating of about 2.6. Under 5 is expert play.

Not ready for that? Pick an easier level. Every level is the same Marlin, with noise added to its judgement, so it misses things a strong player would see.

See how we measure it

Playing Marlin is fair

It never sees the dice

Marlin can't know what you will roll, or what it will roll. Its dice come from the same generator as yours, the same way, every turn.

How our dice work

It runs on your device

Marlin thinks inside your browser. Your game against it doesn't wait on a server, and keeps going when your connection drops.

Ready for a game?

Pick a level and start. No account needed.

Play the computer