Skip to content

harshh-2/The-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

#Rock Paper Scissors Game A simple and interactive Rock-Paper-Scissors game where a human player competes against the computer. The first to reach 5 points wins the game.

Features Classic Rock-Paper-Scissors gameplay.

Real-time score tracking.

Game ends when either player or computer reaches 5 points.

Popup message to announce the game winner.

Responsive and user-friendly UI.

Simple animations and clear feedback after each round.

Demo (https://harshh-2.github.io/The-Game/)

How to Play Click on one of the options: Rock (πŸ‘Š), Paper (✌️), or Scissors (βœ‹).

The computer will randomly pick its choice.

Scores update based on the rules:

Rock beats Scissors.

Paper beats Rock.

Scissors beats Paper.

The first to reach 5 points wins.

A popup will display the final result. Click on the popup to reset the game.

Enjoy playing!

Technologies Used HTML5 - Structure and content.

CSS3 - Styling and layout.

JavaScript (ES6) - Game logic and interactivity.

File Structure bash Copy Edit /project-root β”‚ β”œβ”€β”€ index.html # Main HTML file β”œβ”€β”€ style.css # CSS styling └── script.js # JavaScript game logic

Author Harsh Dubey

License This project is open source and free to use.

About

Project2-The-Odin-Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published