Skip to content

mrayanghosh/Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Rock Paper Scissors Game

An interactive browser-based Rock Paper Scissors game built using Python, Pyodide, and JavaScript DOM manipulation. The game features real-time score tracking, instant result updates, and a clean user experience.


๐Ÿ“– Overview

This project demonstrates how Python can be executed directly in the browser using Pyodide while interacting with HTML elements through JavaScript APIs. Players compete against a computer opponent that makes random choices, and scores are updated dynamically after each round.


๐Ÿ“‚ Project Structure

Rock_Paper_Scissors.py โ”‚ โ”œโ”€โ”€ Game Logic โ”œโ”€โ”€ Score Management โ”œโ”€โ”€ Winner Determination โ”œโ”€โ”€ Event Handling โ””โ”€โ”€ DOM Manipulation


๐ŸŽฏ Game Rules

  • โœŠ Rock beats Scissors
  • โœŒ๏ธ Scissors beats Paper
  • โœ‹ Paper beats Rock
  • Same choices result in a Draw

๐Ÿš€ How to Play

  1. Select Rock, Paper, or Scissors.
  2. The computer automatically chooses its move.
  3. The result is displayed instantly.
  4. Scores are updated after every round.
  5. Use the Reset button to start a new game.

๐Ÿ‘จโ€๐Ÿ’ป Author

Ayan Ghosh

AI & Machine Learning Enthusiast | Python Developer | Open Source Learner

Passionate about Artificial Intelligence, Machine Learning, Software Development, and emerging technologies. Dedicated to building impactful projects, contributing to the tech community, and continuously expanding technical knowledge.

Skills:

  • Python Programming
  • Artificial Intelligence
  • Machine Learning
  • Web Development
  • Problem Solving

โญ If you found this project useful, consider giving it a star on GitHub!


Thank You for Visiting This Project! ๐Ÿš€

About

No description, website, or topics provided.

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors