Is Writing Code for a Streaming Platform Helping to Run a Casino?
- Source
- Zhenbian REAL · by Zhenbian Jun
- Published
- 2026-11-19 09:39
- Original
- Open in WeChat (if the original is deleted, this page is the archive)
- Archived
- 2026-12-01
English translation by this archive. If anything differs, the Chinese original prevails. Read the Chinese original →
Introduction
On 19 November, the retrial of a casino case opened at the Wenquan County Court in Xinjiang. The four people still prosecuted are technical staff who wrote code for a streaming platform. The streaming platform drove traffic to gambling websites; does that make the people who wrote the code accomplices in running a casino? This article examines the three elements of accomplice liability one by one.
Today, 19 November 2026, the Wenquan County People's Court in Xinjiang opened the retrial of a casino case.
According to reporting by journalist Liu Hu, the case originally had 11 defendants, all given suspended sentences at first instance in August 2025; in February 2026 the Bortala Intermediate Court sent the case back for retrial for unclear facts and insufficient evidence. During the retrial the prosecution withdrew the charges against 7 of them and made relative non-prosecution decisions, while continuing to prosecute four people including Guo X (a pseudonym).
These four have one thing in common: they did technical development for a streaming platform.
The prosecution accuses them of operating a casino. This article asks: under what conditions can providing technical services to a streaming platform make someone an accomplice in operating a casino?
01 The chain of accusation: where do the defendants stand?
According to the indictment as cited in reports, the prosecution's case is roughly this chain:
Link 1: “Chen A” (at large), the boss of an overseas company, signed profit-sharing agreements with several gambling platforms;
Link 2: Chen A arranged for a team to develop a streaming platform and chat software;
Link 3: the operators and streamers of the streaming platform drove traffic to gambling websites through embedded links, spoken promotion and so on;
Link 4: the gambling websites accepted bets.
The defendants are in Link 2: technical staff who wrote code and did operations and maintenance. What they developed was a streaming platform, not a gambling website; those who drove traffic to the gambling websites were the operators and streamers in Link 3.
The defense lawyers' views in the reports focus on this point: the defendants developed a streaming platform and chat software and were not responsible for running the platform.
In this chain, the defendants are separated from the gambling websites by two layers. Whether accomplice liability can pierce those two layers depends on what the rules say.
02 What the rules require: two conditions, both indispensable
First, to clear up a common confusion.
Article 4 of the 2005 Interpretation by the Supreme Court and Supreme Procuratorate on Several Issues of Applying Law in Gambling Cases provides that anyone who, knowing that others are committing gambling crimes, provides direct assistance such as funds, computer networks, communications or settlement of payments shall be treated as an accomplice to the crime of gambling.
That article concerns the crime of gambling. The Supreme People's Court has also noted in its commentary that the interpretation only addressed the crime of organising gambling, and did not set standards for convicting and sentencing the crime of operating a casino.
The direct basis for accomplice liability in online casino cases is Article 2 of the 2010 Opinions of the Supreme Court, Supreme Procuratorate and Ministry of Public Security on Several Issues of Applying Law in Online Gambling Cases (the “2010 Opinions”): anyone who, knowing that it is a gambling website, provides it with any of the following services or assistance is a joint offender in operating a casino.
The listed services include internet access, server hosting, network storage, communication channels, placing advertisements, recruiting members, software development and technical support, with thresholds based on the amount of service fees charged.
Two elements follow from this.
First, subjectively, knowing that it is a gambling website.
Second, objectively, providing services to a gambling website.
Note that “software development and technical support” is itself in the list. So the question in this case is not whether technical services can be criminal, but whether these technical services were provided “to a gambling website”.
The Supreme People's Court's commentary on the 2010 Opinions puts it more directly: accomplice liability does not require prior conspiracy, but it must be proved that the person knew others were committing the crime of operating a casino, and that his assistance directly promoted the crime.
“Directly promoted” and the 2005 interpretation's “direct assistance” point to the same limit: the assistance must act directly on the casino itself.
03 The object element: a streaming platform is not a gambling website
Article 1 of the 2010 Opinions defines “operating a casino” online: setting up a gambling website and accepting bets; setting up a gambling website and providing it to others to organise gambling; acting as an agent for a gambling website and accepting bets; taking part in sharing the profits of a gambling website.
The Supreme People's Court's commentary stresses that setting up a gambling website or acting as an agent counts as operating a casino only if bets are also accepted.
By this standard, the streaming platform itself does not accept bets and is not a gambling website in the legal sense. The traffic diversion that happened on the streaming platform is closer in nature to “placing advertisements” listed in Article 2 of the 2010 Opinions. If anyone is to be held responsible, it points first to the operators and streamers who did the diverting.
The defendants wrote code for the streaming platform; their client was the streaming platform, not a gambling website. Treating them as accomplices in operating a casino actually expands “providing services to a gambling website” into “providing services to a platform that advertises for gambling websites”.
That is assisting the assistance: so-called “chain assistance”.
If such an expansion were accepted, the boundary would be impossible to draw: the cloud provider supplying the streaming platform's servers, the institution providing a payment interface, the company providing a development framework — are they all in the chain? The 2010 Opinions limit the object to “a gambling website” precisely to stop accomplice liability running endlessly back up the technical chain.
The monetary thresholds in the 2010 Opinions confirm this. They are calculated by “service fees charged”, presupposing a service relationship and payment between the person and the gambling website. According to reports, the first-instance judgment treated the defendants' fixed monthly salaries as illegal gains, on the grounds that the defendants could not show the salaries' lawful source.
Salaries come from the employer, not from a gambling website. An employee's salary is not a service fee charged to a gambling website.
04 The agreement that could connect the chain
Whether the accusation can pierce the two layers hinges on the “profit-sharing agreement” in Link 1.
If Chen A really signed profit-sharing agreements with gambling platforms, he himself might fall under Article 1(4) of the 2010 Opinions, “taking part in sharing the profits of a gambling website”, and be a principal in operating a casino.
In that case the streaming platform would no longer be an independent, neutral platform, but part of Chen A's overall plan to operate a casino; the assessment of those who developed the platform for him would change accordingly.
In other words, that agreement is the bridge connecting “developing a streaming platform” with “operating a casino”.
But according to reports, the defense repeatedly asked the prosecution in court to produce the profit-sharing agreement; there is no such agreement in the file, and the prosecution could not give a consistent account of whether it exists.
If the bridge does not exist, the chain breaks between Link 2 and Link 3.
05 Presumed knowledge: it can be presumed, and it can be rebutted
Now the subjective element.
The 2010 Opinions set out several situations in which “knowledge” may be found, one being: deliberately evading investigation by destroying or altering data or account books when law-enforcement officers investigate. There is also a proviso: except where there is evidence proving the person genuinely did not know.
According to reports, the first-instance judgment used the fact that some defendants removed computer hard drives on the night the case broke as grounds for presuming knowledge.
Formally, this presumption fits the rules, but at least two points need further examination.
First, the presumption requires “destroying or altering data” in order to “evade investigation”. According to reports, the Electronic Data Inspection Record in the file shows that although data was extracted from the seized hard drives, their actual contents were not examined, nor shown to the court. If it is unclear what was on the drives, it is hard to say what removing them was meant to hide.
Second, even if the presumption holds, what is presumed should be “knowing it was a gambling website”, and it should correspond to a specific gambling website. A defendant knowing that the streaming platform he developed was used by others to divert traffic is different from knowing that a specific website was a gambling website and providing services to it.
Presumption is an aid to proof, not an exemption from the burden of proof.
06 There must first be a casino before there can be a casino's helper
The last and most fundamental question: has the casino itself been proved?
Accomplice liability presupposes the existence of a principal's conduct. Without a proven casino, there can be no helping a casino.
According to reports, the investigators found through remote inspection that the websites involved were “suspected gambling websites”; after the retrial was ordered, the prosecution commissioned a forensic institution to produce inspection reports on four websites, Wanbo Sports, Ledong Sports, Jiabo Sports and Shengli Sports, concluding that they “match the characteristics of gambling websites”.
The defense points out that these four websites are precisely not the ones the defendants' company provided technical services to, and that the streaming platform and chat software the defendants developed were never themselves extracted, examined or analysed.
This raises a question of correspondence in the evidence: are the websites shown to possibly be casinos and the platform the defendants served objects on the same chain? If that correspondence is not established, “a casino exists” and “the defendants helped a casino” are two unconnected facts.
Even setting aside accomplice liability for operating a casino and considering the crime of assisting criminal activities on information networks instead, Article 287-2 of the Criminal Law likewise requires that the person knew others were using information networks to commit crimes. What crime the assisted party committed still has to be proved.
Conclusion
The rules have three gates before technical services become a crime: the client must be a gambling website; the assistance must act directly on the casino; and the person must have known.
Their purpose is to confine accomplice liability to people directly connected with the casino, rather than running all the way back up the technical chain and pulling in everyone who wrote code.
In this case, going by the state of the evidence disclosed in reports, the accusation still needs further proof at four points: the object, the agreement, knowledge and the casino itself. These are exactly the questions the retrial court must answer one by one today.
Recommended reading:
The most distant “distant-water fishing” case | Two statutory grounds for Judge Bayinhua's recusal
Lawyer appeals to the presidents of the Wenquan County Court and the Bortala Intermediate Court: how can you give only three days to find another lawyer?
Wenquan County Court, you call this “following the law”?
— End —