🌐 Play Now: https://shiftatmidnight.cc/
Shift At Midnight is a zero-download, browser-based psychological horror and social deduction game. Step into a tense, atmospheric environment where you must use psychological warfare and logical deduction to identify the shape-shifting doppelgangers hiding among you.
This open-source repository aims to share best practices for building lightweight, highly accessible web games using modern frontend technologies (Next.js + React).
- 🎮 Zero-Download Access: Built natively for the web. Jump right into the suspenseful gameplay directly from your browser—no heavy installations or high-end hardware required.
- 🕵️♂️ Psychological Deduction: Experience high-tension gameplay that tests your observation skills, logical reasoning, and ability to spot the imposter in plain sight.
- ⚡ High Performance: Leverages Next.js Server-Side Rendering (SSR) and Static Site Generation (SSG), deployed on the Cloudflare global network for blazing-fast loading speeds.
- 📱 Responsive Design: Crafted with Tailwind CSS to ensure a seamless and intuitive user interface across both desktop and mobile browsers.
- 🔍 SEO Friendly: Optimized metadata, semantic HTML structure, and fast load times ensure high visibility and ranking across search engines.
This project is built with a modern full-stack frontend ecosystem, balancing developer experience with top-tier performance:
- Framework: Next.js - For powerful routing, rendering, and built-in SEO capabilities.
- UI Library: React - For building highly interactive user interfaces.
- Styling: Tailwind CSS - Utility-first CSS framework for rapid UI development.
- Deployment: Cloudflare - Providing edge computing, fast CDN delivery, and security.
Feel free to clone this repository to learn, customize, or contribute to the project!
- Node.js (v18 or higher recommended)
- npm / yarn / pnpm
-
Clone the repository
git clone https://github.com/your-username/shift-at-midnight.git cd shift-at-midnight -
Install dependencies
npm install
-
Run the development server
npm run dev
-
View in browser Open http://localhost:3000 to preview the game locally.
We welcome all forms of contributions! Here is how you can help:
- Report bugs and provide feedback via Issues
- Suggest new features or game mechanics
- Submit Pull Requests to optimize code or UI
- Help improve documentation and translations
This project is licensed under the MIT License.