Hi There! This repository contains a command line game. I had made this game just for fun hope you will enjoy this.
There are 2 files in the repository
- ClassFile.h -> The class file and all the logic and Utility methods.
- game.cpp -> The cpp file that contains driver code for the game.
This is a classic game. The Rock-Paper-Scissor game is also known as Snake-Water-Gun game. There are 2 player that players the game one is computer and other is computer itself.
Player selects a weapon and so computer, but player has the choice to select his weapon while computer selects his weapon randomly. Below is the criteria for winning a round :- Rock x Paper -> Paper Paper x Scissor -> Scissor Scissor x Rock -> Rock If both Player selects the same weapon then its a draw!