A fun and engaging "Would You Rather" game built with Next.js, TypeScript, and Tailwind CSS.
- Random thought-provoking questions
- Beautiful, responsive UI
- Real-time percentage display
- Smooth animations and transitions
- Mobile-friendly design
- Next.js 14
- TypeScript
- Tailwind CSS
- React Hooks
- Clone the repository:
git clone https://github.com/yourusername/would-you-rather.git
cd would-you-rather- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
would-you-rather/
├── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Next.js pages
│ ├── utils/ # Utility functions
│ ├── styles/ # Global styles
│ ├── data/ # Static data
│ └── hooks/ # Custom React hooks
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.