Gambling is strictly prohibited in mainland China. This legal directive covers both offline and online gambling. Engaging in gambling activities is punishable by imprisonment or fines. The penalty applies to both operators and patrons. The government has tried to discourage online gambling using the Great Firewall of China.
All the measures taken by the Chinese government have not been fool-proof as there are is still a lot of illegal online gambling going on in the nation. The citizens seem not to be paying attention to the latest decrees aimed at 'protecting the people from themselves.' This, however, is likely to change very soon.