Skip to content

A Rock, Paper Scissor game that you play against the computer. You can play as long as the input is 1.

Notifications You must be signed in to change notification settings

ReDWoLf1007/Rock-Paper-Scissor-Game-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissor-Game-Cpp

It is a simple Rock Paper and Scissor game that we play against the computer. Computer choses one of the three options using the random() function. It is made using C++. It contains the below functions:

getuserChoice()

It takes the user's choice between Rock, Paper and Scissor, and returns the value in a variable.

getcompChocie()

It takes the computer's choice between Rock, Paper and Scissor and returns the value in a variable.

winner()

Compares the both choices by applying the Rock, Paper and Scissor rules and returns the winner and the loop continues.

About

A Rock, Paper Scissor game that you play against the computer. You can play as long as the input is 1.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages