This company has probably violated California law; however, I would need to get more information from you before providing a concrete legal opinion. It appears that the company running this contest has attempted to integrate some aspect of skill into the game, so as to avoid the contest being deemed an illegal lottery or sweepstakes under California law. See Cal.Bus. & Prof.Code § 17539.3(e). That said, California law does govern such "contests" (i.e., that involve some combination of skill...