Skip to content

Learnermeet/Rock-Paper-Scissors-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Rock-Paper-Scissors Game

A simple and interactive Rock-Paper-Scissors game built using HTML, CSS, and JavaScript. Play the classic hand game against the computer right in your browser!

This project demonstrates basic web development skills including DOM manipulation, event handling, and CSS styling. It’s perfect as a beginner-friendly coding project or as a fun game to expand later with new features.


🕹️ Game Rules

Rock-Paper-Scissors is a classic hand game where:

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock

The player chooses one option, and the computer randomly selects one. The winner is decided based on these rules. :contentReference[oaicite:0]{index=0}


🚀 Features

✔️ Play against a computer opponent
✔️ Randomized computer choices
✔️ Simple, clean UI
✔️ Interactive gameplay without page reload


🧠 How It Works

The game logic is written in JavaScript. When a player chooses Rock, Paper, or Scissors, the script:

  1. Generates a random choice for the computer
  2. Compares both choices
  3. Displays the result (win / lose / draw)

📦 Technologies Used

  • 🌐 HTML
  • 🎨 CSS
  • 💻 JavaScript

📜 License

This repository is licensed under the Apache License 2.0 — see the LICENSE file for details.


⭐ Contributing

Contributions, feedback and improvements are welcome!

Enjoy playing and coding! 🎉

Made with ❤️ by Learnermeet

About

Classic Rock-Paper-Scissors browser game built with HTML, CSS, and JavaScript. Play against the computer and explore basic web game logic and UI design!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors