Restructure this program such that class Die and class Card both inherit an abstract class GameObject. You should write the class GameObject.
The client program should survive this restructuring. (You may, however, need to change the name of the type IGameObject to GameObject). Compile and run the given client program with your classes.