The Qijing 棋經 (also 碁經 or 棊經) "Classic of chess", also known as Xuanxuan qijing 玄玄棋經 "All-mysterious book on chess", is a treatise on Chinese chess written by the Song period 宋 (960-1279) master Yan Tianzhang 晏天章. The short book includes 13 chapters. In the preface, written by Zhang Jing 張靖, some actual chess masters are mentioned, like Liu Zhongfu 劉仲甫, Yang Zhongyin 楊中隱, Wang Wan 王琬, Sun Xian 孫侁, Guo Fan 郭范 or Li Boxiang 李伯祥. The Qijing was also used by these masters as a model book on planning and strategy. The title of the book is derived from a special tactic (xuan zhi you xuan 玄之又玄) that is mentioned in contemporary chess books like the Taizong qitu 太宗棋圖 or Handan yishu zhi yu qitu 邯鄲藝術志御棋圖.
The Qijing is included in the encyclopedia Yongle dadian 永樂大典 and the collectanea Shuofu 說郛, Mohai jinhu 墨海金壺 and Shoushange congshu.
Source: Li Xueqin 李學勤, Lü Wenyu 呂文鬰 (1996). Siku da cidian 四庫大辭典, vol. 2, p. 1823. Changchun: Jilin daxue chubanshe.
1. 棋局 Qiju Basic conditions
2. 得算 Desuan Calculation
3. 權輿 Quanyu The effect of positions
4. 合戰 Hezhan Meeting in battle
5. 虛實 Xushi Void and real
6. 自知 Zizhi Knowing oneself
7. 審局 Shenju Considering the general situation
8. 度情 Duqing Estimating possibilities
9. 斜正 Xiezheng Insure and correct
10. 洞微 Dongwei Obscure (chances)
11. 名數 Mingshu
12. 品格 Pinge
13. 雜說 Zashuo Miscellaneous explanations