Skip to content

SaniaHusainKhan/Python-mini-project2-ROCK-PAPER-SCISSORS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Python-mini-project2-ROCK-PAPER-SCISSORS

A Python terminal-based Rock–Paper–Scissors game with single-player and two-player modes, simple AI opponents, and a clean modular design.

Features

  • Play Rock, Paper, Scissors directly in the terminal.
  • Randomized computer opponent.
  • Keeps track of your wins and the computer's wins.
  • Option to quit anytime by typing Q.
  • Beginner-friendly Python code — easy to read and extend.

How to Run

  1. Clone the repository:
    git clone https://github.com/<your-username>/rock-paper-scissors.git
    cd rock-paper-scissors

2. Run the script:

   ```bash
   python rps.py
   ```

---

## Gameplay Example

```
Type rock/paper/scissors or Q to Exit: rock
Computer picked paper.
Oh Noo, You Lost!

Type rock/paper/scissors or Q to Exit: scissors
Computer picked paper.
You Won!! Yayyy

Type rock/paper/scissors or Q to Exit: q
You Won 1 .times
The Computer Won 1 .times
Bubbye!
```

## Project Structure
rock-paper-scissors/
├── rps.py         # main game file
└── README.md      # project description

About

A Python terminal-based Rock–Paper–Scissors game with single-player and two-player modes, simple AI opponents, and a clean modular design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages