Skip to content

coderxtushar/RockPaperScissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock, Paper, Scissors Game

This is a simple implementation of the classic Rock, Paper, Scissors game using the Pygame library in Python.

Table of Contents

Overview

This project is a basic example of a game developed with Pygame. It allows a player to choose between Rock, Paper, and Scissors, while the computer makes a random choice. The game then determines the winner and displays the result on the screen.

Requirements

To run this game, you need to have Python and Pygame installed on your system. You can install Pygame using the following command:

pip install pygame

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/your-username/rock-paper-scissors-game.git
  1. Make sure you have Pygame installed as mentioned in the requirements section.

  2. Run the game by executing the script

Usage

  1. Launch the game by running the main.py script.

  2. Make your choice by pressing the following keys:

    • "R" for Rock
    • "P" for Paper
    • "S" for Scissors
  3. The computer will make a random choice, and the result will be displayed on the screen.

  4. The game waits for a couple of seconds before resetting for the next round.

Game Controls

  • "R" - Choose Rock
  • "P" - Choose Paper
  • "S" - Choose Scissors
  • Close the game window to exit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages