Git Product home page Git Product logo

akankshabairagi55 / project1-rock-paper-scissors Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

Rock ๐Ÿชจ, paper ๐Ÿ“„, scissors โœ‚๏ธ - a timeless game of strategy and chance. Players choose their weapon in anticipation of their opponent's move. Rock crushes scissors, scissors cuts paper, paper covers rock. Simple yet endlessly entertaining, it's a test of wit and luck. Ready to play?

Home Page: https://drive.google.com/file/d/10MEO0qtGbmV3WKEJVt_StRodNh9TdmHa/view?usp=sharing

Python 100.00%
dictionary emojis python3 random conditional-statements

project1-rock-paper-scissors's Introduction

Rock Paper Scissors Game

Welcome to the Rock Paper Scissors game project! In this project, we'll develop a simple command-line version of the classic game "Rock Paper Scissors" using Python.

Overview

The project aims to demonstrate basic Python programming concepts while implementing a fun and interactive game. The game will allow a player to compete against the computer in multiple rounds of Rock Paper Scissors.

Features

  • User Input: Players can input their choice of "rock", "paper", or "scissors".
  • Random Selection: The computer randomly selects its choice.
  • Game Logic: The game logic determines the winner based on the choices made by the player and the computer.
  • Score Tracking: The game keeps track of the player's and computer's scores throughout multiple rounds.
  • Multiple Rounds: The game continues until the player decides to quit.
  • User-Friendly Interface: The game provides clear instructions and prompts for the player.

Technologies Used

  • Python: The core programming language used for development.
  • Random Module: Utilized for generating random selections for the computer's moves.

Project Structure

The project consists of the following files:

  1. rock paper scissors.py: The main Python script containing the game logic.
  2. README.md: This Markdown file providing an overview of the project.

How to Play

  1. Clone the Repository: Clone the project repository to your local machine using the following command:

        git clone https://github.com/Akankshabairagi55/Project1-ROCK-PAPER-SCISSORS.git
    
  2. Navigate to the Project Directory: Move into the directory where the project is cloned.

  3. Run the Game: Execute the Python script rock paper scissors.py using the Python interpreter:

        python rock paper scissors.py
    
  4. Follow the Prompts: The game will prompt you to enter your choice for each round. Type "rock", "paper", or "scissors" and hit Enter.

  5. View Results: After each round, the game will display the result, including who won the round and the current score.

  6. Play Again or Quit: You can choose to play another round or exit the game when prompted.

Contributions

Contributions to the project are welcome! If you have any suggestions, improvements, or feature requests, feel free to open an issue or submit a pull request.

Enjoy playing Rock Paper Scissors! ๐ŸŽ‰

project1-rock-paper-scissors's People

Contributors

akankshabairagi55 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.