Skip to content

RamiHsasna/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors

This is a simple Rock Paper Scissors game implemented in JavaScript.

How to Play

  1. Open the index.html file in your web browser.
  2. Enter your choice (rock, paper, or scissors) in the input field.
  3. Click the "Play" button.
  4. The computer will randomly choose its move.
  5. The result (win, lose, or draw) will be displayed on the screen.

Technologies Used

  • HTML
  • CSS
  • JavaScript

Project Structure

  • index.html: The main HTML file that contains the game interface.
  • style.css: The CSS file for styling the game interface.
  • script.js: The JavaScript file that implements the game logic.

Development

To run the project locally and make changes, follow these steps:

  1. Clone the repository: git clone git@github.com:RamiHsasna/rock-paper-scissors.git
  2. Open the project folder: cd rock-paper-scissors
  3. Make changes to the code using your preferred code editor.
  4. Open index.html in your web browser to see the changes.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

 
 
 

Contributors