# zork-agent **Repository Path**: alphaetomega/zork-agent ## Basic Information - **Project Name**: zork-agent - **Description**: zork agent - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-30 - **Last Updated**: 2023-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # zork-agent ## Usage ``` python # Create an agent agent = ZorkIAgent("zork") # Print the first output from game print(agent.get_output()) while True: input_str = input(">>>").strip() if input_str: # Call command method of the agent, this method will pass the command to the game and return the feedback of the game output_str = agent.command(input_str) print(output_str) ```