Skip to content

Files

Latest commit

 

History

History

Rock-Paper-Scissors-Game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Rock Paper Scissors Game

This is a simple web-based Rock Paper Scissors game where users can play against the computer. The game has a visually appealing interface and is built using HTML, CSS, and JavaScript.

Table of Contents

Setup

  1. Clone the repository:

    git clone https://github.com/gauravbhaskar080/Rock-Paper-Scissors-Game.git
  2. Open the project:

    Navigate to the project directory.

    cd Rock-Paper-Scissors-Game
  3. Open index.html:

    Right-click on index.html and open it with your preferred web browser.

Usage

  • Upon opening the game, users are presented with a visually appealing interface where they can see computer and user choices.
  • Users can click on the Rock, Paper, or Scissors buttons to make their choice.
  • The computer's choice is generated randomly.
  • The result of the game (win, lose, or draw) is displayed along with the respective icons.
  • The game also provides a navigation bar with the title "ROCK PAPER SCISSORS GAME" for easy navigation.

Code Structure

  • index.html: The main HTML file that contains the structure of the game interface.
  • style.css: The CSS file that provides the styling for the game.
  • app.js: The JavaScript file responsible for the game logic and interactivity.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive messages.
  4. Push your changes to your forked repository.
  5. Create a pull request to the original repository.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for your own purposes.