Skip to content

RahemShakeel/Rock-Paper-Scissors-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Rock-Paper-Scissors Game

This repository contains a simple implementation of the Rock, Paper, Scissors game in Python. The game allows a user to play against the computer, with the outcome being determined based on the classic rules of the game.

Description

  • The user is asked to choose Rock (0), Paper (1), or Scissors (2).
  • The computer randomly selects one of the three options.
  • The outcome is determined based on the classic rules of Rock, Paper, Scissors:
  1. Rock beats Scissors
  2. Scissors beats Paper
  3. Paper beats Rock
  4. Identical choices result in a draw

ASCII Art:

The game includes visual representations of Rock, Paper, and Scissors to enhance the user experience.

Background

This code was written as a learning exercise to practice Python programming. It includes basic concepts such as conditionals, user input handling, random number generation, and list indexing.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages