would-you-rather Tailwind Templates

Would You Rather

A fun and engaging "Would You Rather" game built with Next.js, TypeScript, and Tailwind CSS.

Would You Rather Game

A fun and engaging "Would You Rather" game built with Next.js, TypeScript, and Tailwind CSS.

Features

  • Random thought-provoking questions
  • Beautiful, responsive UI
  • Real-time percentage display
  • Smooth animations and transitions
  • Mobile-friendly design

Tech Stack

  • Next.js 14
  • TypeScript
  • Tailwind CSS
  • React Hooks

Getting Started

  1. Clone the repository:

    git clone https://github.com/yourusername/would-you-rather.git
    cd would-you-rather
    
  2. Install dependencies:

    npm install
    
  3. Run the development server:

    npm run dev
    
  4. Open http://localhost:3000 in your browser.

Project Structure

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

Development

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run ESLint

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

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

Top categories

Loading Svelte Themes