Skip to content

Suvadip-sana/Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors

JavaScript mini project

Screenshot1

Features

  • Display three clickable button which is rock, paper & scissors.
  • After click one of this, display computer generated one value among rock, paper & scissors.
  • Analyse the results between users & computer then display it's result.
  • Display the winner message in green, loser message in red & draws in yellow, display score accordingly.

How to use

  1. Fork/Clone this repository or download the files.
  2. Open the index.html file in your browser.
  3. Click the one button among three(rock, paper, scissor to start the game.
  4. The game will show the result after.

Files

  • index.html: Contains the structure of the web app.
  • style.css: Contains the styling for the web app.
  • script.js: Contains the JavaScript code that handles the game logic and UI updates.