/Rock-Paper-Scissor

Command line Rock Paper Scissor game coded in C++

Primary LanguageC++

Welcome to Rock-Paper-Scissor game!

Hi There! This repository contains a command line game. I had made this game just for fun hope you will enjoy this.

Files

There are 2 files in the repository

  1. ClassFile.h -> The class file and all the logic and Utility methods.
  2. game.cpp -> The cpp file that contains driver code for the game.

Playing 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.

Rules for playing the Game

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!