Skip to content

rajvi2809/RockPaperScissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A simple web-based Rock-Paper-Scissors game where players compete against the computer.

Features

Interactive GUI with clickable choices

Real-time score tracking

Instant game results display

Reset button to start fresh

Visual feedback for wins/losses/draws

How to Play

Open the game in your web browser

Click on your choice (Rock, Paper, or Scissors)

The computer will randomly select its choice

Results are displayed immediately

Scores update automatically

Use the Reset button to clear scores at any time

Game Rules

Rock beats Scissors

Scissors beat Paper

Paper beats Rock

Matching choices result in a draw

Controls

Mouse Click: Select Rock/Paper/Scissors

Reset Button: Clear all scores and messages

Running the Game

Simply open the HTML file containing this JavaScript in your browser.

Enjoy the game! ✊✋✌️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors