Text this: Principal-Agent Problems from a Game-Theoretic Viewpoint