Skip to content
Book of Riddles

Journey through time

India · Rudrata, 9th century

Chaturanga

Rudrata’s Knight’s Tour

A poem that hops across half a chessboard: 32 squares, each exactly once

Scene In the 9th century the poet Rudrata described verses that can be read by the squares of a chessboard: along the path of the chariot, the horse or the elephant.

A knight stands in the top-left corner of half a chessboard with 4 rows and 8 columns, that is 32 squares. Guide it so that it visits every square exactly once. Every move is a knight’s move: two squares one way and one to the side. Your move numbers appear on the squares, and “Back” takes moves back.

1 / 32 squares visited

View

Tap a marked square and the knight moves there. “Back one move” takes back the last move. The hint shows a square from which the tour can still be finished, and tells you if you are in a dead end.

Seals of this station

  1. Solved solve the puzzle
  2. Best effort visit all 32 squares without using the hint
  3. Masterpiece visit all 32 squares without the hint and without taking back a single move
On to the next stationPachisi: Cowries, Castles, Graces

The board ashtapada

According to Wikipedia chaturanga was played on an unchequered 8×8 board called ashtapada, which is also the name of a game.

Source

Wikipedia: Chaturanga (text excerpt, accessed 09.11.2026)

Chaturanga was played on an 8×8 uncheckered board called ashtāpada, which is also the name of a game.

Chequered boards

Chequered boards are recent: Murray writes that the chessboard has only begun to be chequered in Asia in our own time, as a result of European influences.

Source

H. J. R. Murray, A History of Chess, Oxford 1913 (archive.org OCR)

The chessboard has only begun to be chequered in Asia in our own time as the result of European influences.

Rudrata

Rudrata, a poet from the reign of Sankaravarman (884 to 903), describes in his Kavyalankara poems that are to be read by the squares of the chessboard: along the path of the chariot, the horse and the elephant.

Source

H. J. R. Murray, A History of Chess, Oxford 1913 (archive.org OCR)

a work by a slightly later writer, Rudrata, who is ascribed to the reign of Sankaravarman, 884-903 … which are to be read according to the chessboard squares (chaturangapit-ha) of the chariot (rat'ha), horse ( turaga ), elephant (gaja)

The horse jumps

According to Murray the move of the horse (turaga) is identical with the move of today’s knight. That is why the puzzle runs with today’s knight.

Source

H. J. R. Murray, A History of Chess, Oxford 1913 (archive.org OCR)

The move of the Turaga or Horse is identical with the existing move of the Knight.

Earliest reference

According to Wikipedia Rudrata’s poem is the earliest known reference to the knight’s tour. “Earliest known” is caution: older evidence may have been lost.

Source

Wikipedia: Knight's tour (text excerpt, accessed 09.11.2026)

The earliest known reference to the knight's tour problem dates back to the 9th century AD.

Who invented it?

That Rudrata invented the knight’s tour is not documented. Murray points out that the commentator Nami gives a stanza for it and that the knight’s tour was apparently very popular. Who invented it, we do not know.

Source

H. J. R. Murray, A History of Chess, Oxford 1913 (archive.org OCR)

notes that the Knight's tour appears to have been very … popular, since the commentator Nami gives a sloka

The syllable table

Rudrata’s example verse has four lines of eight syllables each. You can read it line by line or follow the path of a knight across the 4×8 board. The view “Rudrata’s syllables” shows the syllables of the table (transliteration from Wikipedia, not from the Sanskrit text). We checked only the first line: the knight’s path 1.1 → 2.3 → 1.5 → 2.7 → 4.8 → 3.6 → 4.4 → 3.2 reads exactly its eight syllables; we did not work through the other three lines.

Source

Wikipedia: Knight's tour (text excerpt, accessed 09.11.2026)

The same verse in four lines of eight syllables each can be read from left to right or by following the path of the knight on tour.

Desika’s table

In the 14th century Vedanta Desika wrote two verses of 32 syllables each in which the second arises from the first by a knight’s tour on a 4×8 board, starting in the top-left corner. The table of numbers for it (view “Desika’s table”) is given on Wikipedia; we checked that all 31 steps are knight’s moves and that no square occurs twice. We have not seen the source of the table itself.

Source

Wikipedia: Knight's tour (text excerpt, accessed 09.11.2026)

has composed two consecutive Sanskrit verses containing 32 letters each (in Anushtubh meter) where the second verse can be derived from the first verse by performing a Knight's tour on a 4×8 board, starting from the top-left corner.

No closed tour

A closed tour, where the knight could jump from the last square back to the start, does not exist on 4×8: our search program counted every round trip from the top-left square and found none. That is our own calculation, not a source. So every tour here ends open.

Our hint

The hint uses a program to look for a continuation that reaches the end, trying first the square with the fewest free neighbours. That is a much later method and not part of the Indian sources; it serves only our hint and the demonstration.