Found in 1 comment on Hacker News
orp · 2016-08-25 · Original thread
A similar concept was used in Jack of Shadows by Roger Zelazny, but with fantasy elements.

https://www.amazon.com/Shadows-Rediscovered-Classics-Roger-Z...

Fresh book recommendations delivered straight to your inbox every Thursday.