Yash-Pandey07 / Rock-Paper-Scissors

A simple game of rock paper scissors. Using javascript to create and update web elements on the page while making this game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rock Paper Scissors Game

This is a simple Rock Paper Scissors game implemented using HTML, CSS, and JavaScript.

How to Play

  1. Open the index.html file in your web browser.
  2. Click on one of the choices: Rock, Paper, or Scissors.
  3. The opponent's choice will be randomly generated.
  4. The winner of the round will be displayed, and the scores will be updated.
  5. Play multiple rounds to see who wins the game!

Run Online: Rock Paper Scissors Game

Features

  • Single-player game against a computer opponent.
  • Easy-to-use interface with clickable choices.
  • Score tracking for both the player and the opponent.

File Structure

  • index.html: HTML file containing the game structure.
  • style.css: CSS file for styling the game elements.
  • script.js: JavaScript file containing the game logic.
  • background.jpg: Background image for the game.

Preview

Rock Paper Scissors Game

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple game of rock paper scissors. Using javascript to create and update web elements on the page while making this game.

License:MIT License


Languages

Language:JavaScript 61.8%Language:HTML 19.9%Language:CSS 18.3%