Pergunta de entrevista da empresa Microsoft

OOP design for a game and an algorithm question (leetcode easy)