What is the logic behind auto merge since there's obviously more to it than just merging if the card you draw matches one in the hand
Auto merge attempts to match any drawn card that matches any card in hand or in one of the draw piles.