Python Rock, Paper, Scissors This is a simple command-line game where you play against the computer in a game of Rock, Paper, Scissors. The computer's choice is determined randomly.
Project Description The game takes a number as user input (0 for Rock, 1 for Paper, 2 for Scissors), and then uses the random module to generate a corresponding choice for the computer. It compares the two choices and declares a winner based on the classic game rules.
How to Run Make sure you have Python 3 installed on your system.
Clone this repository to your local machine.
Navigate to the project directory in your terminal or command prompt.
Run the Python script:
python rock_paper_scissors.py
Key Learnings Lists: I learned how to use lists to store multiple values (e.g., the game options).
Random Module: The random module was used to generate a random integer, which was then used to make the computer's choice.
Conditional Logic: The game uses if/elif/else statements to determine the winner based on all possible outcomes.
Technologies Used Python 3.x
Command Line Interface (CLI)
Disclaimer This project was completed as part of Dr. Angela Yu's "100 Days of Code: The Complete Python Pro Bootcamp" on Udemy (Day 4). It is intended for educational purposes and as a demonstration of foundational programming concepts.