Skip to content

arunkumar7-dev/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🪨✂️📄 Rock Paper Scissors Game (Python)

A simple command-line Rock Paper Scissors game developed in Python. This project demonstrates basic programming concepts such as user input handling, conditional logic, and random choice generation.


Features

  • User-friendly command-line interface
  • Player vs Computer gameplay
  • Randomized computer choices
  • Basic input validation
  • Clear game outcome announcements

How to Play

  1. Run the Python script.
  2. When prompted, Enter your choice (r for Rock, p for Paper, s for Scissor):
  3. The computer will randomly select its choice.
  4. The winner will be displayed based on the classic Rock-Paper-Scissors rules:
    • Rock beats Scissors
    • Scissors beats Paper
    • Paper beats Rock
  5. Optionally, play again or exit the game.

image


Requirements

  • Python 3.x

Usage

python main.py

About

A simple and interactive Rock, Paper, Scissor game implemented in Python. The game lets you play against the computer with continuous rounds until you choose to quit. It includes error handling to manage invalid inputs gracefully, ensuring a smooth user experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages