[dirty trick] {n. phr.} A treacherous action; an unfair act.
That was a dirty trick John played on Mary when he ran away with her younger sister.