Refactor deal and check_card methods into one.