Skip to content

Arya25program/impostor_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕵️‍♂️ IMPOSTOR – A Word & Clue Mystery Game

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?


🎯 Live Demo

🔗 Play the game here: arya25program.github.io/impostor_game


🎮 Gameplay Overview

  1. Enter all player names.
  2. The system randomly selects one player as the IMPOSTOR.
  3. A random word and clue are generated from a dictionary.
  4. Each player presses and holds their name to secretly see:
    • Crewmates: The real word.
    • Impostor: The clue only.
  5. After everyone knows their word/clue, players discuss and vote who they think the Impostor is!
  6. Use the "Check for Clue" button to reveal the impostor and see the clue & real word.

🧩 Features

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published