Skip to content

A Python 3.x program which mimics the hand game ‘Rock, Paper, Scissor’. This is a console game and a single player is able to play this game with the computer.

License

Notifications You must be signed in to change notification settings

tdba7/Rock-Paper-Scissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissor Game

A Python 3.x program which mimics the hand game ‘Rock, Paper, Scissor’. This is a console game and a single player is able to play this game with the computer.

Requirements

Run below code line in cmd to install required packages.

pip install -r requirements.txt

How it's played

This is a hand game played by two players. Two players are supposed to randomly display a hand sign which depicts a Rock, Paper, or a Scissor. The winning (or draw) is selected based on the below scenario.

  • Both players displaying the same sign will result in a draw.
  • Both players displaying different signs will depict a win or lose as below.
    • Scissor beats the paper as it cuts through the paper.
    • Paper beats the rock as it can wrap the rock.
    • Rock beats the scissor as it can destroy the scissor.

Features

  • User is able to view the past game-play history.
    • This is stored by using a database.
  • Can play the game with the pc as many times as you want.
  • Can keep track of wins, losses and draws.
  • Able to display game stats like below.
    • Total game plays
    • Total wins by human
    • Total wins by pc
    • Total draws
  • Can show previous game-play results in a web browser.

About

A Python 3.x program which mimics the hand game ‘Rock, Paper, Scissor’. This is a console game and a single player is able to play this game with the computer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published