As soon as the number of players is entered, the next that-many people to refresh this page will be told a location and their role at that location.
Except the mole. One player is randomly chosen to be the mole and doesn't know the location and has to guess it based on what the other players say. The other players can convince each other that they're not the mole by saying enough to prove they know the location but not so much that they give the location away to the mole.
The game ends when the mole calls out a guess for the location, or when everyone is ready to accuse whoever they think the mole is. You can use a timer and when it runs out everyone has to make an accusation, ready or not. You make your accusation by pointing at someone and when all fingers are pointed, the mole reveals themself. The mole then has their last chance to guess the location.
Everyone starts with 5 tokens (or beads or pennies or whatever). The mole has to pay a token to each person who figures them out, unless they guess the location before official accusations. And if the mole guesses the location (early or after accusations, doesn't matter) then everyone pays them a token.
Optional: If you falsely accuse someone of being the mole, you have to pay them a token. This makes the game harder and sneakier, when people want to be mistaken for the mole. The mole accusing someone doesn't count of course.