You're almost certainly thinking of Baccarat—the classic comparing-card game between "Player" and "Banker" hands, popular in live-dealer and RNG online casinos.