calculate a cards puzzle for a friend.