Skip to content

noluyorAbi/imposter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽญ Imposter Word Game

Next.js React TypeScript Tailwind CSS License Live Demo

A social deduction word game where players must identify the imposter among them. Built with Next.js, TypeScript, and Tailwind CSS.

๐ŸŒ Live Demo: https://imposter.adatepe.dev

๐ŸŽฏ Motivation

This project was born from a passion for creating engaging social experiences that bring people together. The motivation behind the Imposter Word Game stems from several key principles:

๐Ÿค Social Connection

  • Bridging Digital and Physical: In an increasingly digital world, creating games that encourage real human interaction and conversation
  • Universal Appeal: A game that transcends language barriers and cultural differences through simple, intuitive gameplay
  • Accessibility: No downloads, no registration, just pure gaming enjoyment accessible to everyone

๐Ÿง  Cognitive Challenge

  • Strategic Thinking: Players must balance deception with believability, creating a unique psychological challenge
  • Communication Skills: Encourages clear, concise communication and active listening
  • Social Intelligence: Develops skills in reading people and understanding group dynamics

๐Ÿ’ป Technical Excellence

  • Modern Web Technologies: Showcasing the power and capabilities of Next.js, React, and TypeScript
  • Performance: Optimized for smooth gameplay across all devices and network conditions
  • User Experience: Intuitive design that puts the focus on the game, not the interface

๐ŸŒ Global Reach

  • Multi-language Support: Breaking down language barriers to create a truly global gaming experience
  • Cultural Inclusivity: Word categories that resonate across different cultures and backgrounds
  • Community Building: Creating shared experiences that bring diverse groups together

The goal is to demonstrate that web applications can be both technically sophisticated and genuinely fun, proving that modern web technologies are capable of creating experiences that rival traditional gaming platforms.

โœจ Features

  • ๐ŸŒ Multi-language Support - English, German, and Turkish
  • ๐ŸŽฏ 15 Word Categories - Food, Animals, Movies & TV, Sports & Games, Places, Jobs & Professions, Objects & Things, Vehicles, Holidays, School, Silly & Random, Fantasy, Technology, Nature, and Music
  • โฑ๏ธ Timer System - Elapsed time tracking during gameplay
  • ๐ŸŽญ Imposter Mechanics - Hidden roles with strategic gameplay
  • ๐ŸŽจ Modern UI - Clean design with smooth animations
  • ๐Ÿ“ฑ Responsive Design - Works on desktop and mobile
  • ๐ŸŒ™ Dark/Light Mode - Theme switching support
  • ๐ŸŽฎ 3+ Players - Designed for group gameplay

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm, yarn, or pnpm

Installation

# Clone the repository
git clone https://github.com/noluyorAbi/imposter.git
cd imposter

# Install dependencies
npm install
# or
yarn install
# or
pnpm install

# Start the development server
npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 to view the game in your browser.

๐ŸŒ Live Demo: https://imposter.adatepe.dev

๐ŸŽฏ How to Play

  1. Setup: Choose your language (English, German, or Turkish) and add players
  2. Word Selection: Pick a category and word for the round
  3. Role Assignment: Players receive cards - most get the same word, one gets "IMPOSTER"
  4. Clue Phase: Players give one-word clues about their word
  5. Discussion: Players discuss and try to identify the imposter
  6. Voting: Vote for who you think is the imposter
  7. Scoring: Points awarded based on correct identification

๐Ÿ› ๏ธ Tech Stack

Next.js React TypeScript Tailwind CSS Radix UI Lucide React

Core Dependencies

  • Framework: Next.js 15.2.4
  • UI Library: React 19
  • Language: TypeScript 5
  • Styling: Tailwind CSS 4.1.9
  • Components: Radix UI Primitives
  • Icons: Lucide React
  • Forms: React Hook Form + Zod
  • Themes: Next Themes
  • Animations: Tailwind CSS Animate

๐Ÿ“ Project Structure

imposter-word-game/
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ globals.css        # Global styles
โ”‚   โ”œโ”€โ”€ layout.tsx         # Root layout
โ”‚   โ””โ”€โ”€ page.tsx           # Main game component
โ”œโ”€โ”€ components/            # React components
โ”‚   โ”œโ”€โ”€ ui/               # Reusable UI components
โ”‚   โ”œโ”€โ”€ game-setup.tsx    # Game setup screen
โ”‚   โ”œโ”€โ”€ game-play.tsx     # Main gameplay
โ”‚   โ”œโ”€โ”€ game-end.tsx      # Game end screen
โ”‚   โ”œโ”€โ”€ card-distribution.tsx # Card distribution
โ”‚   โ”œโ”€โ”€ language-selector.tsx # Language selection
โ”‚   โ”œโ”€โ”€ theme-provider.tsx # Theme provider
โ”‚   โ””โ”€โ”€ welcome-screen.tsx # Welcome screen
โ”œโ”€โ”€ lib/                  # Utility functions
โ”‚   โ”œโ”€โ”€ translation.ts    # Multi-language support
โ”‚   โ”œโ”€โ”€ word-categories.ts # Word categories and data
โ”‚   โ”œโ”€โ”€ word-clues.ts     # Clue generation
โ”‚   โ””โ”€โ”€ utils.ts          # Helper functions
โ”œโ”€โ”€ hooks/                # Custom React hooks
โ””โ”€โ”€ public/               # Static assets

๐ŸŒ Supported Languages

The game currently supports:

  • English ๐Ÿ‡บ๐Ÿ‡ธ (Default)
  • German ๐Ÿ‡ฉ๐Ÿ‡ช
  • Turkish ๐Ÿ‡น๐Ÿ‡ท

๐ŸŽจ Design Features

  • Modern UI: Clean, flat design with smooth animations
  • Responsive Layout: Mobile-first design approach
  • Theme Support: Dark and light mode switching
  • Typography: Modern, readable fonts
  • Spacing: Consistent spacing system
  • Animations: Subtle transitions and hover effects

๐Ÿš€ Deployment

Live Demo

The game is currently deployed and available at: https://imposter.adatepe.dev

Vercel (Recommended)

Deploy with Vercel

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel

Other Platforms

The app can be deployed to any platform that supports Next.js:

  • Netlify
  • Railway
  • DigitalOcean App Platform
  • AWS Amplify

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Run linting
npm run lint

# Build for production
npm run build

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Inspired by popular social deduction games
  • Built with modern web technologies
  • Community-driven development

๐Ÿ“ž Support

If you have any questions or need help, please:


Made with โค๏ธ by the Imposter Game Team

Live Demo GitHub Issues Stars

About

Imposter - A social deduction word game where players identify the imposter among them. Built with Next.js, React, TypeScript, and Tailwind CSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors