Z:gnu-www-ja-essays-and-articles--dea4e3-=3Ca href=3D"/philosophy/software-/en

 Software Patents and Literary Patents, by Richard M. Stallman, speaking of patenting artistic techniques, US patent (6,935,954) covers making game characters start to hallucinate when (according to the game) they are being driven insane. That is getting pretty close to the hypothetical examples cited in this article.