Skip to content

A console version of Rock-Paper-Scissors, input validation, and color-coded results.

Notifications You must be signed in to change notification settings

fullstackgenerator/RPS-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors - Console style

This C# console application implements the classic Rock-Paper-Scissors game. The game ensures valid user input using a while loop and employs the Random class to generate the computer’s choice. A simple if statement determines the winner, and ties result in an automatic rematch. The program also enhances user experience with structured input handling and a clean, interactive flow.

image

** Includes:**

  • Interactive gameplay with a computer opponent.
  • Randomized AI moves using the Random class.
  • Input validation to ensure correct user entries.
  • Looping structure to allow multiple rounds of play.

About

A console version of Rock-Paper-Scissors, input validation, and color-coded results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages