Coder Social home page Coder Social logo

xensen008 / rpsgame Goto Github PK

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

Welcome to the Rock, Paper, Scissors game! This Python project provides a classic and interactive gaming experience where users can play against the computer. The game follows the standard rules: Rock crushes Scissors, Scissors cuts Paper, and Paper covers Rock.

Home Page: https://thesagespeak008.000webhostapp.com

Python 100.00%

rpsgame's Introduction

Rock,Paper,Scissor Game

Welcome to the Rock, Paper, Scissors game! This Python project provides a classic and interactive gaming experience where users can play against the computer. The game follows the standard rules: Rock crushes Scissors, Scissors cuts Paper, and Paper covers Rock.

Features:

1.User Input Handling:

The program prompts the user to input their choice (0 for rock, 1 for paper, or 2 for scissors). -Input validation ensures that only valid choices are accepted.

2.Game Logic:

  • The game determines the winner based on the rules of Rock, Paper, Scissors.
  • The outcome (win, lose, or tie) is displayed after each round.

3.Score Tracking:

  • The program keeps track of the user's and computer's scores throughout the game.
  • At the end of the game, it displays a summary with both players' final scores.

4.Random Computer Choices:

  • The computer makes random choices to keep the game unpredictable and challenging.

How to Play: 1.Run the program. 2.Enter your choice when prompted. 3.See the result and the updated scores. 4.Choose to play again or exit.

Installation

This is just an simple demo project on rock paper scissor game build in python with basic tools

Just run the code in Any ide (Vscode if git is installed!) or in goole cloud shell

Installation in bash or git/cloud shell

  git clone https://github.com/Xensen008/RPSGame
  cd RPSGame
  python code.py

Usage:

Clone the repository and run the Python script. Enjoy the timeless fun of Rock, Paper, Scissors!

INSTALLATION IS ALREADY MENTION ABOVE

๐Ÿš€ About Me

I'm a learning developer...

Hello, I'm Arnab Jyoti Kakati, a passionate computer science engineering student with a relentless love for coding and development. I believe that the world of technology is a canvas, and programming is my way of painting it with innovative solutions.

About Me:

๐Ÿ‘จโ€๐Ÿ’ป Computer Science Enthusiast: As a Computer Science Engineering student, I've had the privilege of delving deep into the fascinating realm of algorithms, data structures, and software development. My journey in the world of technology has been nothing short of exhilarating.

๐Ÿ’ก Love for Development: My heart truly belongs to development. crafting elegant and responsive websites using HTML and CSS, building robust and scalable applications with Java and Python I find immense joy in bringing ideas to life through code.

๐ŸŒ Multilingual Coder: My linguistic skills extend beyond spoken languages. I am fluent in a multitude of programming languages including HTML, CSS, Python, SQL. Each language offers a unique perspective on problem-solving, and I love the challenge of mastering them all.

๐Ÿš€ Aspiring Programmer: My dream is to become a skilled and influential programmer who contributes to the ever-evolving tech landscape. I aspire to create software solutions that simplify complex problems, improve lives, and drive innovation.

๐Ÿ“š Continuous Learner: In the world of technology, learning never stops. I'm committed to staying at the forefront of the industry, keeping up with the latest trends, and embracing new languages and frameworks as they emerge.

Join me on this exciting journey through the ever-evolving world of computer science, where every line of code is a step closer to transforming the digital landscape. Together, we can unlock the boundless potential of technology and shape the future. ๐Ÿš€๐ŸŒ #CodeWithArnab

Authors

Feedback

Feel free to customize and expand upon this simple game as you explore more features and enhancements.

If you have any feedback, please reach out to us at sagespeak008.cyberdude.com

rpsgame's People

Contributors

xensen008 avatar

Stargazers

 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.