Home / Blog

Is Baghchal a Solved Game? What the Research Says

Is Baghchal a Solved Game?

Yes, Baghchal is a solved game. Two researchers used computers to find out what happens when both sides play perfectly. The answer: the game is a draw.

This post explains what "solved" means, how it was done, and what it means for you. We use the researchers' own papers and say clearly what they found.

If you do not know the rules yet, read the complete guide.

What does "solved" mean?

A game is solved when we know the result of perfect play from the start. There are three possible results: the first player wins, the second player wins, or it is a draw.

Solving a game does not mean the game is boring. A solved game can still be hard for people. Nobody plays perfectly.

Who solved it?

Two researchers, Lim Yew Jin and Jürg Nievergelt, studied Baghchal. They wrote two papers about it.

Later papers by other writers repeat this: when both sides play optimally, Baghchal ends in a draw.

Why was it hard?

The game looks small. But the number of possible games is huge. A 2016 paper that cites the study says the placement phase has a game tree of about 10 to the power of 41 games. The same paper says there are about 88 million possible positions in the movement phase.

The researchers used a computer to build up a large database of positions and their results, working backward from the end of the game. Early on, they could not search the full placement phase, so the work took many years.

What does a draw mean?

If both players play perfectly:

This is true under the rules the researchers used. Rule sets differ in small ways, such as how repeated positions are handled.

What does it mean for you?

Not much, in practice. No human plays perfectly. So both sides can win a real game.

Do we agree with the research?

We are not the authors of the research. But we ran a small test of our own. In our opening analysis, a computer search shows that the goats have only four safe first moves, the middle points of the edges. This matches the idea in the research that the goats can avoid an early loss with the right first move. Our test is small, and the researchers' work is far larger.

A short timeline

Year What happened
2004 "Computing Tigers and Goats" is published. It reports an incomplete analysis.
2009 "Tigers and Goats is a draw" is published. The game is solved.

Learn more

Play Baghchal on your phone

Baghchal Online lets you practice or play for fun in four ways:

  • Play real people online.
  • Make a private room and send the code to a friend.
  • Play 34 creatures that get harder as you win.
  • Use Pass and Play to share one phone with a friend. No internet needed.

The app is on Google Play for Android. An iPhone version is coming soon.

Get it on Google Play
A Baghchal Online matchA friend room in Baghchal Online

Questions and answers

Is Baghchal solved?

Yes. A 2009 paper by Lim Yew Jin and Jürg Nievergelt showed that Baghchal is a draw with perfect play.

Who wins in Baghchal with perfect play?

Nobody. With perfect play, it is a draw.

Does that mean the goats or tigers have an advantage in real games?

In real games, mistakes decide most results. Either side can win.

Why did it take so long to solve?

The number of possible games is very large, especially in the placement phase.

Are all rule sets the same?

No. Small rules, like how repeated positions are handled, differ between groups.

Sources