So I found a site Kira Online which is like flash player game of Mafia. It is made in Japanese and they apparently had it translated to English recently. Anyway it's a really basic game of Mafia. There is only 9 roles total. Civilian, Detective, Doctor, Guard, Cowboy, Killer, Sniper, Terrorist, Kidnapper.

Civilian - Citizen
Detective - like Sheriffs that share a night chat.
Doctor - Doctor with weird heal mechanic
Guard - Bodyguard with weird protection mechanic
Cowboy - Vigilante with weird shooting mechanic

Killer - Mafia members share a night chat
Sniper - Mafia that doesnt share a night chat and doesnt know mafia is, shoot a player at night with up to 4 ammos
Terrorist - Mafia that doesnt share a night chat and doesnt know mafia is, kill someone while killing himself
Kidnapper - Mafia that doesnt share a night chat and doesnt know mafia is, basically a consort really...

Anyway, it seems like almost all set up have 18 players, The standard set up is usually 4 detective, 1 doctor, 4 killers, 1 sniper, and 8 civilians.
Game ends when all killers die, or all detectives die, or killers outnumber everyone else. Even if there is a sniper/other mafia roles are still alive, game still ends when all killers die. Also games doesnt end when killers and sniper/other mafia roles are still alive outnumber everyone, its when killers outnumber town AND sniper/other mafia roles.

Its a little bit weird. The meta is a bit weird, they lynch ANYBODY who tries to random lynch. But its interesting if anyone want to try it out. The tutorial is also very helpful when you start this.

https://apps.gamekini.com/