Not too long ago there was a thread about movies that were larpable.
I thought it would be interesting to sorta go the other way, and see how many times roleplaying was an integral part of a book, or at least got a significant mention.
Off the top of my head there are the Dream Park books by Larry Niven and … Steven Barnes? (feel free to correct). Larp with bells and whistles, and murder mysteries winding through.
Gwyneth Jones wrote an alien occupation trilogy. The first, White Queen, had, as one of the threads, a gaming group (of the same name) running a wide-scale ‘What If’ game - what if there had been a very quiet landing by aliens, what would be the signs and possible effects? Much to their surprise, they found the signs and turned into a resistance group instead. The third in the trilogy also had a gaming club, and one of the games they were running turned out to be very, very important as an exercise in entrainment too… I haven’t read the second, but I think it also had a gaming presence.
Can anyone think of others?