To play one's cards well

to make no errors; to act shrewdly.

See also: Card