Skip to content

Khushi256/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

A fun and interactive Rock Paper Scissors game built using HTML, CSS, and Vanilla JavaScript. Test your luck against the computer and keep track of your score!

๐ŸŒŸ Features

  • Player vs Computer gameplay
  • Random computer move generation
  • Live score tracking
  • Hover effect on choices
  • Responsive design for mobile and desktop
  • Clear game messages: win, lose, or draw

๐Ÿš€ How to Run

  1. Clone the repository
  2. Open index.html in your browser.
  3. Click on rock, paper, or scissors to play your move.
  4. See the result instantly and track your score!
# Clone the repo
git clone https://github.com/Khushi256/rock-paper-scissors.git
cd rock-paper-scissors

๐Ÿ“‚ Project Structure

rock-paper-scissors/
โ”œโ”€โ”€ index.html        # Main HTML file
โ”œโ”€โ”€ style.css         # CSS styling
โ”œโ”€โ”€ script.js         # Game logic in JavaScript
โ”œโ”€โ”€ rock.png          # Image for Rock
โ”œโ”€โ”€ paper.png         # Image for Paper
โ”œโ”€โ”€ scissors.png      # Image for Scissors
โ””โ”€โ”€ README.md         # Project description

๐Ÿ”ฎ Future Improvements

  • Add sound effects and animations ๐ŸŽต
  • Add reset or restart button ๐Ÿ”„
  • Add user vs user mode ๐Ÿ‘ฅ
  • Add dark/light theme toggle ๐ŸŒ—

๐Ÿ“œ License

This project is licensed under the MIT License. Feel free to use, modify, and share!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published