def show_achieved_treasure(treasure): new_screen() print(treasure) wait_for_continue_command()
def show_fight_information(fight): new_screen() print( FIGHT_INFORMATION_PARTS_SEPARATOR_WHEN_PRINTING.join( fight.get_fight_information())) wait_for_continue_command()
def print_hero_initial_information(hero): new_screen() print(HERO_INFORMATION_TEXT) hero.print_hero() wait_for_continue_command()
def read_input_name_and_title_for_hero(): new_screen() print(CREATE_HERO_TEXT) name = input(INPUT_NAME_TEXT) title = input(INPUT_TITLE_TEXT) return (name, title)
def print_intro(): new_screen() print(INTRO_TEXT)
def show_game_over_screen(): new_screen() print(GAME_OVER_TEXT)
def game_turn(dungeon): new_screen() print_map_with_legend(dungeon) pressed_key_for_turn = get_pressed_key_for_turn() select_player_turn_depending_on_pressed_key_for_turn( dungeon, pressed_key_for_turn)