Among many other qualities, Shakespeare was a master of using plays within his plays to amplify his themes and plot arcs. This technique of self-reference has been used for dramatic and comedic effect in many works. Orson Scott Card had Ender Wiggin playing through a story game that ultimately tied into and reflected his "real life" story; P.C.