--Experimental quick algorithm for selecting two cards from two groups, one for each group
--param opf is a function for operations after selecting the first card, receiving the selected card as the first param and returning a bool standing for whether you do it("[opf], and if you do, select sg2")