Skip to content

georgezch/RockPaperScissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

RockPaperScissors

Code a simple Rock-Paper-Scissors game in c++

Description

Compile the code by running

g++ rps.cpp -o rps

To play the game run

./rps

You will be promted to select to how many wins the game will end, meaning that the game ends when either the palayer or the computer reaches the selected number of wins. After that you will be asked to select one of r:rock, p:paper or s:scissors. The computer will make a move immediately after and the winner will be chosen. That's all, have fun!

Authors

Georgios Zacharegkas

gzacharegkas@gmail.com

About

A simple Rock-Paper-Scissors game in c++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages