Implement card removal and end-of-deck check.