A python program for playing rock-paper-scissors with computer .

Overview

Rock_Paper_Scissors_Cut

A time passing famous hand game known as rock paper scissors cut game. Starting from children to adults everyone plays this game. This game is very playful and if not, one of the best time passing game.

Logo

Authors

Must Read

This is program that runs on python. You need python 3.9 or up. Remember to have this installed before playing it.

This program uses a module called time which is a pre-installed module in python. So you need not to install any additional modules or anything.

Installation

To deploy this project you dont need to install any modules

Running the project

Open any terminal or the default terminal in VS CODE and type the following

  python.exe main.py

About the Code

This program runs to serve you as an opponent for playing rock-paper-scissors-cut game. You will be prompted with a main line for you to give commands or inputs like which option you will choose or will you quit playing.

After getting the code the computer willl generate a random number from 0 to 2 since indexing of the options list starts from 0 to 2 respectively.

After this the computer will compare the two picks and thus come to an conclusion. It will also keep an count of all the results like win_count, loss_count and draw_count. All results will be displayed to the user upon quiting the game.

Usage

Options to play: [rock, paper, scissors]

Option to quit: "Q" or "q"

This program is not case sensitive.

Contributing

Contributions are always welcome!

Please adhere to this project's code of conduct.

Feedback

If you have any feedback, please reach out to us at [email protected]

You might also like...
Blackjack-Py is a terminal based game of blackjack within your terminal playing against CPU.

About Blackjack-Py is a terminal based game of blackjack within your terminal playing against CPU. Usage Clone the repo and run it with whatever pytho

My goofy little script for playing wordle
My goofy little script for playing wordle

my wordle "solver" My goofy little script for playing wordle. It actually runs really slowly at first but once you've added some info (e.g. which lett

A DDQN that learned to play tic tac toe by playing against itself
A DDQN that learned to play tic tac toe by playing against itself

TicTacToeAI A DDQN that learned to play tic tac toe by playing against itself Cu

Scalable computer implemented in the game of life.

scalable-gol-computer This is a computer built in Conway’s game of life. It supports variable sizes of 8, 16 and 32 bit. Maximum program size: 256 lin

Lucky Balls is gambling game where user try to guess 6 numbers from 1 to 48 that computer has picked.
Lucky Balls is gambling game where user try to guess 6 numbers from 1 to 48 that computer has picked.

LUCKY BALLS Lucky Balls is gambling game where user try to guess 6 numbers from 1 to 48 that computer has picked. INSTRUCTIONS User input his bet, tha

Pong is one of the first computer games that ever created, this simple

Pong-Game Pong is one of the first computer games that ever created, this simple "tennis like" game features two paddles and a ball, the goal is to de

SnailJumper - A game that is developed as an assignment for Computer Intelligence course
SnailJumper - A game that is developed as an assignment for Computer Intelligence course

Snail jumper Neuroevolution game assignment. Fall 2021 - Computer Intelligence.

TetrisAI - Tetris AI Bot using computer vision to play game automatically
TetrisAI - Tetris AI Bot using computer vision to play game automatically

Tetris AI Tetris AI Bot using computer vision to play game automatically bot.py

Simple python program to simulate Conway's game of life with custom variables.

ConwaysGameOfLife Simple python program to simulate Conway's game of life with custom variables. Custom Variables Grid-size : Change the size of the p

Owner
Arghya Banerjee
Just a Casual Coder who is a bit much interested in learning python to make our day-to-day life easier.
Arghya Banerjee
Rock Paper Scissors Game with PyQt5

Rock-Paper-Scissors-Game rock paper scissors is a old game that all of us played it but this time let's play with computer Description This is Rock Pa

MohammadAli.HBA 4 Nov 11, 2021
A programme which basically has the same function as the actual Rock paper scissors game.

A programme which basically has the same function as the actual Rock paper scissors game.

null 1 Feb 11, 2022
A Replit Game Know As ROCK PAPER SCISSOR AND ALSO KNOW AS STONE PAPER SCISSOR

?? ᴿᴼᶜᴷ ᴾᴬᴾᴱᴿ ᔆᶜᴵᔆᔆᴼᴿ ?? ⚙️ Rᴜɴ Oɴ Rᴇᴘʟɪᴛ ??️ Lᴀɴɢᴜᴀɢᴇs Aɴᴅ Tᴏᴏʟs If you are taking code from this repository without a fork, then atleast give credit

ANKIT KUMAR 1 Dec 25, 2021
This is a simple rock paper scissor game created with python.

This is a simple rock paper scissor game created with python.

Fayas Noushad 3 Feb 4, 2022
A Simple Scissor Paper Rock Game On Python Using Pygame.

Scissor Paper Stone Game Using Pygame This is a simple GUI based game made on pygame python. Installation Run code on your machine: git clone https:

Dipin Adhikari 0 Mar 21, 2022
Dontdie-minecraft - A python program that causes your computer to bluescreen whenever you die in Minecraft

Don't Die - A Python Program A python program that causes your computer to blues

null 3 Apr 19, 2022
Tekken-python-ml - A project of playing tekken game using python

Tekken Python Description Hi this is new project of playing tekken game using py

Programminghut 13 Dec 30, 2022
A simple script which allows you to see how much GEXP you earned for playing in the last Minecraft Hypixel server session

Project Landscape A simple script which allows you to see how much GEXP you earned for playing in the Minecraft Server Hypixel Usage Install python 3.

Vincenzo Deluca 4 Dec 18, 2021
Playing memory game is fun and the more harder it is the more challenging it is.

Playing memory game is fun and the more harder it is the more challenging it is. Playing thi sgame make us stress free and also happy. So, I have decided to make a memory Game which people can play while doing work. To pass your time and to be little happy, play this wonderful memory game - **JACKPOT** while doing your work and sitting in front of your computer.

Shreejan Dolai 3 Nov 11, 2022
SuperChess is a GUI application for playing chess.

About SuperChess is a GUI application for playing chess. It is written in Python 3.10 programming language, uses PySide6 GUI library, python-chess lib

Boštjan Mejak 1 Oct 16, 2022