The Weiqi Devil, also known as The Chess Ghost, (Chinese: 棋鬼; pinyin: Qíguǐ) is a short story by Qing dynasty writer Pu Songling, collected in Strange Tales from a Chinese Studio (Liaozhai; 1740).
[1] Courteous but aloof, the stranger initially declines the general's game request but ultimately gives in, only to lose.
[2] Ma, who had been possessed by an underling from Hell, elaborates that the stranger was an unfilial scholar – a weiqi addict who lost massive amounts of money gambling on the game so much so that his father died of sorrow.
The sentence had already ended when the general met him, but the "weiqi devil" failed to complete his final task, that is to promptly inscribe verses on the stone facade of the Phoenix Tower, a complex in Hell.
[2] With that, the ghost sealed his fate – condemnation to the deepest regions of the Netherworld, without any chance of rebirth.