Skip to content

Rock Paper Scissors is a basic game built on C# as a Console Application

License

Notifications You must be signed in to change notification settings

Harleythetech/RPS-Game

Repository files navigation

RPS-Game C

C# RPS Game

The Rock, Paper, Scissors Game is a console application developed in C# that brings the classic game to life in a simple and interactive format. This application allows users to play the game against the computer, providing a fun and engaging experience within the console environment.

What is Rock Paper and Scissors?

Rock paper scissors (commonly scissors, paper, rock or stone in Australia and New Zealand) is an intransitive hand game, usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are "rock" (a closed fist), "paper" (a flat hand), and "scissors" (a fist with the index finger and middle finger extended, forming a V). The earliest form of "rock paper scissors"-style game originated in China and was subsequently imported into Japan, where it reached its modern standardized form, before being spread throughout the world in the early 20th century.

A simultaneous, zero-sum game, it has three possible outcomes: a draw, a win or a loss. A player who decides to play rock will beat another player who has chosen scissors ("rock crushes scissors" or "breaks scissors" or sometimes "blunts scissors"), but will lose to one who has played paper ("paper covers rock"); a play of paper will lose to a play of scissors ("scissors cuts paper"). If both players choose the same shape, the game is tied and is usually replayed to break the tie.

Rock paper scissors is often used as a fair choosing method between two people, similar to coin flipping, drawing straws, or throwing dice in order to settle a dispute or make an unbiased group decision. Unlike truly random selection methods, however, rock paper scissors can be played with some degree of skill by recognizing and exploiting non-random behavior in opponents.

Features

1. Player vs. Computer Gameplay:

  • Users play against the computer in a series of Rock, Paper, Scissors rounds.

2. Random Computer Choices:

  • The computer randomly selects Rock, Paper, or Scissors for each round, providing an element of unpredictability.

3. User Input Handling:

  • The application validates user input to ensure a correct choice of Rock, Paper, or Scissors.

4. Dynamic Game Display:

  • The console interface dynamically displays the game progress, including user choices, computer choices, and round outcomes.

5. Score Tracking:

  • The game keeps track of the score, allowing users to see their performance against the computer.
How to Use?

1. Launch the Application:

  • Open the console application in your preferred C# development environment.

2. Start the Game:

  • Users initiate the game and play rounds of Rock, Paper, Scissors against the computer.

3. Select a Move:

  • Users choose their move by entering "Rock," "Paper," or "Scissors" through the console.

4. View Round Outcome:

  • The application displays the choices made by the user and the computer, along with the outcome of each round.

5. See Overall Score:

  • Users can view the overall score to track their performance against the computer.

6. Play Multiple Rounds:

  • Users can play multiple rounds until they decide to exit the game.

7. Explore and Customize (Optional):

  • Users can explore the source code to customize game features, add enhancements, or modify the user interface.

8. Exit the Program:

  • The application prompts users to press any key to exit after completing or exiting the game.
Purpose:

The Rock, Paper, Scissors Game console application serves as a fun and interactive project for C# learners, offering hands-on experience with essential programming concepts such as user input handling, randomization, and game logic. This project encourages exploration and customization, making it suitable for those interested in creating entertaining console-based games.

Special Thanks to:

You have reached the end, Have Fun Playing Rock Paper Scissors :)

About

Rock Paper Scissors is a basic game built on C# as a Console Application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages