Wiktionary
play one's cards right
vb. (context idiomatic English) To act correctly; to make the right moves.