Playing "mind games" means the person is acting deviously.