Skip to content

Manvendra-2006/Stone-Paper-Scissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stone Paper Scissors Game

A simple and interactive Stone Paper Scissors game built using HTML, CSS, and JavaScript. This project demonstrates basic DOM manipulation, event handling, and conditional logic to create a fun browser-based game experience.

Features

  1. Interactive Gameplay: Users can choose between Stone, Paper, or Scissors and play against the computer.
  2. Dynamic Results: The result (Win, Lose, or Draw) is displayed instantly after each round.
  3. Score Tracking: Keeps track of both player and computer scores throughout the session.
  4. Responsive Design: Works smoothly on desktop as well as mobile devices.
  5. Clean UI: Simple, intuitive, and visually appealing layout for easy interaction.

Tech Stack

HTML: Structure and layout of the game interface. CSS: Styling and responsive design for a better user experience. JavaScript: Handles game logic, random computer choices, and DOM updates.

Future Enhancements

  1. Sound Effects: Add audio feedback for each round (win, lose, draw).
  2. Animated Transitions: Implement animations for moves and results.
  3. Multiplayer Mode: Allow two players to play on the same device.
  4. Reset Button: Include a button to reset the game score easily.
  5. Improved UI: Add modern design elements and animations using CSS or GSAP.

How to Play

  1. Choose Stone, Paper, or Scissors by clicking the respective button.
  2. The computer will make its random choice.
  3. The result will appear on the screen — showing whether you won, lost, or it was a draw.
  4. Your and the computer’s scores will update automatically.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors