class SegaModel1Emulator: def __init__(self): self.games = []
class Game: def __init__(self, title, rom_path): self.title = title self.rom_path = rom_path
def add_game(self, title, rom_path): new_game = Game(title, rom_path) self.games.append(new_game)