Playing with a theory of mind