It is a misdemeanor to run or play in a game in which the “house” - a term for a casino or bookmaker - collects money from losers to pay winners or takes a percentage of bets made.
Gambling for profit is a highly regulated industry in California and is mostly restricted to tribal casinos, card rooms, horse wagering and state lottery.