Skip to content

idkgarvit/rock-paper-scissors-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Rock Paper Scissors Game ๐ŸŽฎโœŠ๐Ÿ“„โœ‚๏ธ

This is a simple Python implementation of the classic Rock, Paper, Scissors game where you play against the computer.

๐Ÿš€ How to Play

  • Run the script.
  • Choose one of the following when prompted:
    • r for Rock
    • p for Paper
    • s for Scissors
  • The computer will randomly select its choice.
  • The winner will be determined by the traditional rules of the game.

๐Ÿ“ฆ Features

  • Randomized computer choices
  • Clean input validation
  • Fun and quick to play

๐Ÿง  Logic Mapping

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock
  • Same choices result in a draw

๐Ÿ–ฅ๏ธ Requirements

Just Python 3.x. No external libraries needed.

๐Ÿ“ธ Screenshot

Screenshot

๐Ÿ› ๏ธ How to Run

python rock_paper_scissors.py

๐Ÿ”— Connect with Me

Feel free to check out my other projects or connect with me on LinkedIn.


Built with ๐Ÿ’ป and a bit of fun by Garvit Kanojia

About

A simple command-line Rock Paper Scissors game built using Python. This project was created while learning Python fundamentals and showcases decision-making using conditionals, dictionaries, and randomization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages