src.dcss.agent.humaninterfaceagent

Module Contents

Classes

HumanInterfaceBaseAgent

Attributes

STILL_NEED_TO_RESTART

getch

my_config

src.dcss.agent.humaninterfaceagent.STILL_NEED_TO_RESTART = False
src.dcss.agent.humaninterfaceagent.getch
class src.dcss.agent.humaninterfaceagent.HumanInterfaceBaseAgent

Bases: dcss.agent.base.BaseAgent

get_action(gamestate: dcss.state.game.GameState)
print_all_items_near_player(gamestate: dcss.state.game.GameState, r=1)
print_player_stats_vector(verbose=False)

Print the player stats vector

print_current_menu()

Print the menu that the API thinks is currently true

print_player_skills_pddl()

Print the pddl facts about the players skill and what they are training, current level, etc.

print_player_inv_pddl()
get_command_from_human_keypress(keypress)

Return the command that matches the keypress from the user

src.dcss.agent.humaninterfaceagent.my_config