SAN FRANCISCO — The California Supreme Court on Thursday classified computer sweepstakes games as illegal slot machines in a ruling that could create legal issues for a wide range of companies that use promotional games to increase business.

Justice Ming Chin found a handful of computer games operated by Internet cafes are prohibited by California statute, even though they don’t physically resemble what he called the traditional “one-armed bandits.”