def show(self):
        self.draw_screen()

        selection = None

        while selection is None:
            selection = self.screen.getch()

            try:
                selection = int(chr(selection))
            except ValueError:
                selection = None

            if selection < 0 or selection > len(self.class_names) - 1:
                selection = None

        for index, class_name in enumerate(self.class_names):
            if index == selection:
                return self.generator.generate_creature(class_name)
Show this screen
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/text/start_game.py/StartGameScreen.show