The New Jersey Code of Criminal Justice defines gambling as “staking or risking something of value upon the outcome of a contest of chance or a future contingent event not under the actor's control or influence, upon an agreement or understanding that he will receive something of value in the event of a certain outcome.” New Jersey was the second state to regulate its intrastate online gambling market, which means that gamblers can get their online casino and poker fixes without having to turn to offshore iGaming sites. The state allows charitable gambling and has its own lottery. Most of the big casinos are located on the Atlantic City boardwalk, but New Jersey also has several parimutuel racetracks. New Jersey is the unquestionable leader when it comes to land-based gambling on the East Coast, and residents and visitors can also choose between of dozens of legal online casinos and sports betting sites.