a battle of wits - definition and synonyms

phrase
  1. a situation in which two people or groups compete by trying to be more clever than the other
See also main entry: battle