How does solitare know how to deal the cards on top of each other?

0