Skip to content

A fun and interactive Rock-Paper-Scissors game built using Next.js 13 (App Router), TypeScript, and Tailwind CSS. Test your luck against the computer and see who wins! ๐Ÿš€

License

Notifications You must be signed in to change notification settings

AmruthLP12/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿชจ Rock Paper Scissors Game ๐ŸŽฎ

A fun and interactive Rock-Paper-Scissors game built using Next.js 13 (App Router), TypeScript, and Tailwind CSS. Test your luck against the computer and see who wins! ๐Ÿš€

๐Ÿ› ๏ธ Tech Stack

  • Next.js 13 (App Router)
  • React
  • TypeScript
  • Tailwind CSS
  • ShadCN/UI Components
  • Lucide Icons

๐Ÿš€ Features

  • Real-Time Gameplay: Make your move and see immediate results.
  • Dynamic Scoreboard: Tracks wins, losses, and ties.
  • Responsive UI: Built with Tailwind CSS for a seamless experience across devices.
  • Clean & Minimal Design: Powered by ShadCN and Lucide Icons for a sleek interface.

๐Ÿ Getting Started

Follow these steps to get the project up and running locally:

  1. Clone the Repository
git clone https://github.com/AmruthLP12/rock-paper-scissors.git

cd rock-paper-scissors
  1. Install Dependencies
npm install
  1. Run the Development Server
npm run dev

Open your browser and navigate to http://localhost:3000 to play the game!

๐Ÿ“ Project Structure


๐Ÿ“ฆ rock-paper-scissors-game
โ”œโ”€โ”€ ๐Ÿ“‚ app
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ components
โ”‚   โ”‚   โ””โ”€โ”€ ui
โ”‚   โ”‚       โ””โ”€โ”€ card.tsx
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx
โ”œโ”€โ”€ ๐Ÿ“‚ public
โ”œโ”€โ”€ ๐Ÿ“‚ styles
โ”‚   โ””โ”€โ”€ globals.css
โ”œโ”€โ”€ ๐Ÿ“„ next.config.mjs
โ””โ”€โ”€ ๐Ÿ“„ tsconfig.json

๐ŸŽจ UI Components

  • Card Component: Customizable card layout using ShadCN UI.
  • Icons: Handled using Lucide Icons for rock, paper, and scissors representations.

๐Ÿ“ How to Play

  1. Choose your move by clicking one of the three buttons: Rock, Paper, or Scissors.
  2. The computer will randomly select its move.
  3. The game will display the winner and update the scoreboard.

๐Ÿค Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request for any improvements or new features.

๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.

๐ŸŒŸ Acknowledgments

Next.js for the powerful framework. Tailwind CSS for the flexible styling. Lucide Icons for the clean and sharp icons.

๐Ÿ’ฌ Feedback

Feel free to reach out via LinkedIn or open an issue if you have any suggestions or questions!

About

A fun and interactive Rock-Paper-Scissors game built using Next.js 13 (App Router), TypeScript, and Tailwind CSS. Test your luck against the computer and see who wins! ๐Ÿš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published