Even online games like World of Warcraft and its fractal of private servers, people still find value in paying for the unified experience with a unified direction by professionals.
Game developers already have the tools they need: try distributing your browser version of a game anybody cares about instead of a 20 year old game.
> yet people still go out and buy the official game.
Not all people, especially not if piracy is easy.
The same reason you buy any game. Why did anyone pay for Runescape when it ran in the browser?
Btw, with webgl/webgpu/wasm you can make high fidelity, high performant 3D games.
But browser games isn't relevant to the point. It's just piracy. The only reason this is on HN is because "click here to play a pirated game" is a lot more interesting than "download a pirated game".