A fun web-based game where players take turns discovering who among them is the IMPOSTOR!
Each round, players receive a secret word — except one random player who only gets a clue.
Can you find out who’s bluffing?
🔗 Play the game here: arya25program.github.io/impostor_game
- Enter all player names.
- The system randomly selects one player as the IMPOSTOR.
- A random word and clue are generated from a dictionary.
- Each player presses and holds their name to secretly see:
- Crewmates: The real word.
- Impostor: The clue only.
- After everyone knows their word/clue, players discuss and vote who they think the Impostor is!
- Use the "Check for Clue" button to reveal the impostor and see the clue & real word.
- Dynamic player entry system.
- Random word & clue generation from a JSON dictionary.
- Random impostor assignment every round.
- Press-and-hold mechanic for secret word reveals.
- Persistent data using
localStorage. - Clean responsive UI built with HTML, CSS, and JavaScript.