A card trick that will probably amaze your friends (solution)

Warning! Spoiler alert! This post contains the secret behind the card trick that I described in my last post. Read that post before reading this one. First the bad news: this card trick is not fool-proof; it is a probabilistic card trick. The good news is that in my experience, it has a high probability…