An open API service indexing awesome lists of open source software.

https://github.com/chinmaybhattt/would-you-rather

A fun and engaging "Would You Rather" game built with Next.js, TypeScript, and Tailwind CSS.
https://github.com/chinmaybhattt/would-you-rather

game typescript would-you-rather

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:
```bash
git clone https://github.com/yourusername/would-you-rather.git
cd would-you-rather
```

2. Install dependencies:
```bash
npm install
```

3. Run the development server:
```bash
npm run dev
```

4. Open [http://localhost:3000](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.