Lando & Millenium Falcon



How did Han get the Falcon from Lando?
It was a card game of sorts right?

Has this been talked about in any of the Star Wars books in detail?

Just curious......

.