Skip to content

This is my second project: an interactive Rock, Paper, Scissors game. The user competes against the computer with options displayed as ASCII art. Features include input validation, error handling, and a replay option. A fun project showcasing enhanced Python programming skills. Level: Intermediate

License

Notifications You must be signed in to change notification settings

pranjalco/rock-paper-scissors-intermediate

Repository files navigation

Rock, Paper, Scissors Game

Description

This is the Rock, Paper, Scissors game where the user plays against the computer. The user selects one of the three options: Rock, Paper, or Scissors, and the computer randomly selects one. The program then determines the winner based on the traditional rules of the game.

This is an updated version of the original game, improved with better error handling, input validation, and ASCII art for a more interactive experience.

Level

  • Level: Intermediate

Author

  • Name: Pranjal Sarnaik
  • Date: 2024-11-30

Features

  • User selects Rock, Paper, or Scissors.
  • Computer randomly selects an option.
  • Game determines the winner based on the rules.
  • Error handling for invalid input.
  • Option to play again.

Installation

  1. Clone this repository:
    git clone https://github.com/pranjalco/rock-paper-scissors-intermediate.git
    
  2. Navigate to the project directory:
    cd rock-paper-scissors-intermediate
    

Running the Program

  1. Ensure Python 3.9 or later is installed on your system.
  2. To run the program:
    • Using PyCharm: Open the project in PyCharm and run rock_paper_scissors_version_2.py.
    • Using Terminal/Command Prompt: Navigate to the project folder and execute:
      python rock_paper_scissors_version_2.py
    • By Double-Clicking: You can double-click rock_paper_scissors_version_2.py to run it directly, provided Python is set up to execute .py files on your system.
  3. If the console window closes immediately, run the program from the terminal/command prompt or IDE to see the output.

About

This is my second project: an interactive Rock, Paper, Scissors game. The user competes against the computer with options displayed as ASCII art. Features include input validation, error handling, and a replay option. A fun project showcasing enhanced Python programming skills. Level: Intermediate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages