Skip to content
Book of Riddles

Journey through time

Africa · Madagascar, written down in 1885

Fanorona

Fanorona

The national game of Madagascar: advance, withdraw, capture, and the “three against five” moment

Scene In 1885 the missionary W. Montgomery wrote in Antananarivo that fanorona was played everywhere, indoors and out, in town and country, by high and low, young and old.

Twenty-two stones each on the crossings of a board of lines; only the point in the middle is empty. You play White and start. Move a stone to a free neighbouring point along a line. If an enemy stone stands on the line beyond your target (approach) or behind your start (withdrawal), the whole row of enemy stones there is captured. Capturing is compulsory, and with the same stone you may capture on, but not back onto a point you already stood on, and not again in the same direction. Whoever takes all the enemy stones wins.

GoalCapture all of the opponent’s stones.

22 : 22 stones

Key

  • Stones You play White (light) and start; the computer plays Black (dark).
  • Golden glow Marks the point the last move started from and the point where it ended.
Play
Opponent
Board

Capturing is compulsory. If a move has two ways of capturing, the page asks you. On narrow screens the board stands upright. The letters A to E and the numbers at the edge are as in Montgomery: with D5 to C5 White captures the stones on B5 and A5. After 40 moves without a capture the game is a draw (our rule).

Seals of this station

  1. Solved solve the puzzle
  2. Best effort beat the Master
  3. Masterpiece beat the Master on the large board, keep twelve stones

The leech

A stone that has captured may capture on, but not straight back to a point it has just left and not on in the same direction. The Malagasy proverb for it: “Do not eat at both ends like a leech.” According to Wikipedia continuing to capture is optional.

Source

Rev. W. Montgomery, „The Malagasy Game of Fanorona“, The Antananarivo Annual and Madagascar Magazine, no. 9 (Christmas 1885), Antananarivo 1886 (OCR text of a scan, hyphenation and reading errors corrected)

eat at both ends, like a leech

Three sizes

There are three sizes. Fanoron-telo on 3 by 3 points is as hard as noughts and crosses, fanoron-dimy on 5 by 5 and fanoron-sivy on 9 by 5 points; sivy is the most popular. We play sivy and, as a gentle start, dimy. We built the set-up of dimy (twelve stones each, centre empty) ourselves on the pattern of the large board; it is not copied from a source.

Source

Wikipedia: Fanorona (text excerpt, accessed 09.11.2026)

Fanoron-Telo is played on a 3×3 board and the difficulty can be compared to the game of Tic-tac-toe. Fanoron-Dimy is played on a 5×5 board and Fanoron-Sivy is played on a 9×5 board—Sivy being the most popular.

Compulsory capture

Today the rule is: capturing is compulsory and takes precedence over moves without a capture, which are called “paika”. Montgomery does not describe this duty in the parts of his report that we can read; here we follow Wikipedia.

Source

Wikipedia: Fanorona (text excerpt, accessed 09.11.2026)

Capturing moves are obligatory and have to be played in preference to paika moves.

Five openings

Our own count: from the starting position White has exactly five possible moves, all onto the empty centre point: three stones (D4, D5, D6) capture two stones each by approach, and C4 captures one stone, either by approach or by withdrawal. Montgomery’s example is right: with D5 to C5 White captures the stones on B5 and A5. Schadd and colleagues also name five opening moves.

Source

Rev. W. Montgomery, „The Malagasy Game of Fanorona“, The Antananarivo Annual and Madagascar Magazine, no. 9 (Christmas 1885), Antananarivo 1886 (OCR text of a scan, hyphenation and reading errors corrected); M. P. D. Schadd, M. H. M. Winands, J. W. H. M. Uiterwijk, H. J. van den Herik, M. H. J. Bergsma, „Best Play in Fanorona Leads to Draw“, New Mathematics and Natural Computation 4 (2008)

If he advances D5 to [C]5, then he immediately captures Black’s pieces on B5 and A5. … Moreover, it has been proved that both the move f2-e3A and d3-e3A lead to a draw. … At this moment, we are unable to predict the game-theoretical outcomes of the other two opening moves

Three against five

The tale of the origin, in Montgomery’s version: Prince Andriantompokoindrindra, eldest son of a king, was just finishing a difficult position when his father’s messenger came because an enemy was advancing. He said he must first finish this game of “three against five”. He came too late and he and his descendants were excluded from the succession. The Malagasy proverb recalls it.

Source

Rev. W. Montgomery, „The Malagasy Game of Fanorona“, The Antananarivo Annual and Madagascar Magazine, no. 9 (Christmas 1885), Antananarivo 1886 (OCR text of a scan, hyphenation and reading errors corrected)

But when the messenger came to Ambohimalaza, Andriantompoko was engrossed with a

Second version

Wikipedia tells the same tale with other names: King Ralambo, his elder son Andriantompokoindrindra and the younger Andrianjaka, who came first and inherited the throne. Here too the elder son is playing fanorona, trying to win a particularly difficult “three against five” position. Names and time of the two versions do not agree. Both are legend.

Source

Wikipedia: Fanorona (text excerpt, accessed 09.11.2026)

he was playing fanorona and trying to win a particularly difficult telo noho dimy (3 against 5) situation

Where from?

Where does the game come from? Montgomery first thought of an Arab origin, then leaned towards a Malagasy one. He had no proof, both views are guesses.

Source

Rev. W. Montgomery, „The Malagasy Game of Fanorona“, The Antananarivo Annual and Madagascar Magazine, no. 9 (Christmas 1885), Antananarivo 1886 (OCR text of a scan, hyphenation and reading errors corrected)

was inclined to suppose that the game must have been introduced into Madagascar by the Arabs … dispose me to believe that the game is of Malagasy origin

How old?

How old is it? Montgomery places the prince “perhaps some two hundred years” before 1885, so around the 17th century, but that is a statement from oral tradition. The age of the game is unknown; “a thousand years old” is not documented.

Source

Rev. W. Montgomery, „The Malagasy Game of Fanorona“, The Antananarivo Annual and Madagascar Magazine, no. 9 (Christmas 1885), Antananarivo 1886 (OCR text of a scan, hyphenation and reading errors corrected)

perhaps some two hundred years ago

Coronation 1810

Montgomery passes on two more stories: at the coronation of Radama I (1810) the tribes and orders were ranged around the king on the pattern of the fanorona lines. And a king besieged by Radama is said to have been playing fanorona with an officer on his gate when a bullet hit him. Both are oral tradition from Antananarivo.

Source

Rev. W. Montgomery, „The Malagasy Game of Fanorona“, The Antananarivo Annual and Madagascar Magazine, no. 9 (Christmas 1885), Antananarivo 1886 (OCR text of a scan, hyphenation and reading errors corrected)

ranged around the King after the pattern of the various sides and diagonals and intersections … and employing the other in a friendly game of fanorona with one of his officers

Draw proved

In 2007/08 Schadd and colleagues proved with computers: with best play fanorona is a draw from the starting position. They used proof-number search and databases of all positions with at most seven stones; the proof created over 130 billion nodes and took more than a week.

Source

M. P. D. Schadd, M. H. M. Winands, J. W. H. M. Uiterwijk, H. J. van den Herik, M. H. J. Bergsma, „Best Play in Fanorona Leads to Draw“, New Mathematics and Natural Computation 4 (2008)

to prove that the game-theoretical value of the initial position is a draw … a total of 130,820,097,938 nodes were created during the search … Solving the initial position of Fanorona took more than a week

Only weakly solved

That is only “weakly solved”: a result is proved for the starting position, not for every position. The authors call strong solving a task for future research. Our computer only looks a few moves ahead and can lose.

Source

M. P. D. Schadd, M. H. M. Winands, J. W. H. M. Uiterwijk, H. J. van den Herik, M. H. J. Bergsma, „Best Play in Fanorona Leads to Draw“, New Mathematics and Natural Computation 4 (2008)

Future research should develop techniques for strongly solving the game.

Our settings

What we have set, not a traditional rule: after 40 moves in a row without a capture the game is a draw, so that every game ends. A side that cannot move at all has lost. Wikipedia only says: if neither player manages to capture all the stones, it is a draw.