General Model of Repeated Games