The Dunhuang Go Manual or Dunhuang Go Classic or simply the Classic of Go () is the earliest surviving manual on the strategic board game of Go (). Dating from the 6th century and written in Chinese, it exists as a single manuscript that was discovered in the 'Library Cave' of the Mogao Caves in Dunhuang, China by Aurel Stein in 1907, and which is now in the collection of the British Library in London, England.

The British Library manuscript

The manuscript (Or.8210/S.5574) is a paper scroll 15.5 cm high and 240 cm long. The hand-written text comprises 159 lines of about 15–17 characters per line. The handwriting is cursive, and in places untidy and hard to read, with many obvious transcription errors. The manuscript is incomplete, with probably three to five lines of text (45–75 characters) missing at the beginning. The end of the manuscript is intact, and gives the title of the text as Qi Jing (碁經) "Classic of Go", and notes that it is complete in one scroll. Unfortunately the name of the author, which would probably have been given at the start of the text, is not provided.

Dunhuang Go Manual

The manuscripts in the Dunhuang library cave date from the 5th century up to the early 11th century, when the cave was sealed. Lionel Giles (1875–1958), the first scholar to recognise the contents of this manuscript, dates the manuscript to the late Tang Dynasty, about 900 AD. However, it is believed that the text of the manual was composed during the late 6th century under the Northern Zhou dynasty (557–581). The main evidence for this is the fact that the author of the text refers to the black pieces as "crow pieces" (烏子) rather than "black pieces" (黑子). The explanation for this unusual term is that Yuwen Tai (507–556), father of the first emperor of the Northern Zhou, and posthumously honoured as the founding emperor of the dynasty, had the nickname 'Black Otter' (黑獺), and therefore the character 'black' () was tabooed in documents written during the Northern Zhou dynasty, being replaced by the word 'crow' () which is a synonym for 'black' in Chinese.

Dunhuang Go Manual

At the end of the manuscript is a single line of Tibetan reading ban de sba'i 'dris 'o, which has been interpreted as meaning "Written by the monk Ba". It is uncertain whether this means that the Chinese text was copied out by a Tibetan scribe, or whether a Tibetan monk added the line to the manuscript at a later date.

Dunhuang Go Manual

In September 2013, Wang Runan, the vice-chairman of the Chinese Weiqi Association, called for the Dunhuang Go Manual to be returned to China.

Contents

The main text is divided into seven numbered sections. The number and title of the first section is missing, but it discusses general principles of attack and defence, suggesting that the player emulate famous military strategists such as Chen Ping and Zhuge Liang. It gives general advice such as "If greedy, one will often be defeated. If timid, one will rarely succeed" (貪則多敗,怯則少功).

The second section (誘征第二) explains the ladder strategy.

The third section (勢用篇第三) discusses good and bad shapes of groups of stones, and gives examples of live and dead shapes, for example noting that "bent four in the corner is dead at the end of the game" (角傍曲四,局竟乃亡).

The fourth section (像名弟四) discusses the symbolism of the Go board and the symbolic names given to different positions on the board. For example, the author states that "Go stones are round in imitation of the heavens, and the Go board is square in the same way that the earth is; that there are 361 intersections on the board reflects the division of the ecliptic [into 365 days]" (碁子圓以法天,碁局方以類地。碁有三百六十一道,倣周天之道數). The explicit mention here that a Go board has 361 points indicates that the author of the manual was familiar with the standard board with a 19 × 19 grid, and not the earlier 17 × 17 grid board that is attested in archaeological evidence dating back to the late Han Dynasty (206 BCE – 220 CE) and from paintings dating up to the mid 8th century.

The fifth section (釋圖勢篇弟五) discusses the importance of Go diagrams to mastering the game. It does not give any concrete examples of Go diagrams, but Cheng Enyuan (1917–1989) suggests that the original text of the manual would have included a set of accompanying diagrams illustrating game positions and strategy.