A simple C++ Rock-Paper-Scissors program based on the original game (with a little twist) I created as a part of CMPT 135 @SFU, to practice OOP concepts such as Encapsulation, Inheritance and Polymorphism.
Each weapon (rock, paper or scissor) is assigned a numerical strength by the user in the beginning. When facing each other:
- Rock's strength is doubled when playing against scissors but halved against paper.
- Paper's strength is doubled when playing against rock but halved against scissors.
- Scissors' strength is doubled when playing against paper but halved against rock.