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.
The mole loses by being unanimously accused. In that case the person who initiated the accusation gets 2 points and everyone else (except the mole, of course) gets 1 point.
Otherwise, the mole wins. They get 2 points if they're not unaminously accused. If someone else is unanimously accused, they get 4 points. The mole also gets 4 points if they stop the round early by correctly guessing the location.