Salesforce interview question

OOP: how you would design a certain game