play one’s cards right/well

(fig.) odigrati na pravu kartu, iskoristiti priliku; nešto dobro odraditi

If you play your cards right, you can get whatever you want.

She didn’t play her cards well, and she ended up with something less than what she wanted.

If I play my cards right, I could be hired as a consultant on that project.