Modeling norm-governed communities with conditional games