Yilü 弈律 "The rules of chess" is a book on chess playing written during the Ming period 明 (1368-1644) by Wang Siren 王思任 (1574-1646), courtesy name Jizhong 季重, style Nüe'an 謔庵. He hailed from Shanyin 山陰 (modern Shaoxing 紹興, Zhejiang) and received his jinshi degree in 1595. Wang was prefectural assistant (qianshi 僉事) in Jiujiang 九江. When the Manchus conquered Nanjing, he was made Right Vice Minister of Rites (libu you shilang 禮部右侍郎), later Minister of Rites (libu shangshu 禮部尚書) of the Prince of Lu 魯王 (r. 1646), a ruler of the Southern Ming 南明 (1644-1661), yet after the downfall of his hometown Shaoxing, he decided to starve himself instead of serving the Manchu Qing dynasty 清 (1644-1911). His collected writings are called Wang Jizhong shi zhong 王季重十種.
The short Yilü defines the rules of chess playing as valid during the time when Wang Siren lived. He compares the rules and an eventual offense of these with criminal acts, and claims punishment according to the penal law, like blows with the rod or the stick, exile, or a fine. The text consists of 42 paragraphs.The author holds that chess was made for recreation, and not for cheating other people, for which reason he believes that fudging should be punished severely. Many scholars ridiculed this text, and it is therefore quite rate. The Yilü is to be found in Wang Siren's collected writings Wang Jizhong shi zhong 王季重十種.