Completely stumped on how to do this. It is a class project in which we must make witches and wizards battle at rock, paper, scissors. We are given the code for class "sorcerer", and we have to create two classes "witch" and "wizard" that inherit class "sorcerer." In both classes "witch" and "wizard" we have to implement a function that receives a sorcerer object that is passed by reference.
Basically I need to know how to write a function called "fight" in class wizard that will receive a sorcerer object by reference and have them battle at rock, paper scissors. Any help would be greatly appreciated