The Theory of Minds Within the Theory of Games