NAIL is an agent that plays text-based interactive fiction games.
Перейти к файлу
Marc-Alexandre Côté 7a32528279
Merge pull request #9 from microsoft/users/GitHubPolicyService/0359ec02-d251-40a3-b790-f8418aa88577
Adding Microsoft SECURITY.MD
2022-09-26 07:56:52 -04:00
agent
.gitignore
LICENSE.pdf
README.md Add link to NAIL paper. 2019-02-13 09:34:47 -08:00
SECURITY.md Microsoft mandatory file 2022-09-01 18:05:35 +00:00
requirements.txt Remove non-existent packages 2022-02-08 08:01:33 -08:00
run_nail_agent.py

README.md

NAIL agent

Navigate Acquire Interact Learn

NAIL is a general game-playing agent designed for parser-based interactive fiction games (Hausknecht et al. 2019). NAIL employs a simple heuristic: examine the current location to identify relevant objects, interact with the identified objects, navigate to a new location, and repeat. Though simple, this loop proves effective across a wide variety of games.

NAIL won first place in the 2018 Text-Based Adventure AI Competition (Atkinson et al. 2018), where it was evaluated on a set of twenty unknown parser-based IF games.

Requirements

  • Linux
  • Python 3

Installation

Usage

  • Obtain a z-machine game (like zork1.z5)
  • cd nail_agent
  • python3 run_nail_agent.py <path_to_game>

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.