There have been several. I'll pick Eric Berne's book Games People Play.
I immediately recognised a few that I had played and, having been 'called out' on them by the book, it did lead me to stop and behave more constructively.
The 'original' game: Why Don't You - Yes But was the one that I first recognised in myself. There are plenty of other examples on that website, but as the page says, it doesn't have the full explanation and context.