def display_main_menu(menu_items):
     HostIO.display_standard_menu(DictionaryParser.get_dict_meta('menu'), menu_items)
Beispiel #2
0
 def create_board(self, board_size, tile_config_name=None) -> list:
     tile_config = [[char.lower() for char in row] for row in
                    DictionaryParser.get_dict_meta('tile_configs')[tile_config_name]]
     return [[BoggleTile(value=choice(tile_config.pop(0))) for column in range(board_size)] for row in
             range(board_size)]
 def display_settings_menu(menu_items):
     HostIO.display_standard_menu(DictionaryParser.get_dict_meta('settings'), menu_items)