To do someone a good (or bad) turn is to do something helpful (or unhelpful) for them. To play someone is make a fool of them, to trick or mislead them. The writing style here is very old fashioned. I would guess that the phrase would have been more familiar to readers at the time it was written than it is today.