Text this: Mathematics of conflict