Skip to content

ChatGPT attempts to play through the classic game Zork (Dungeon).

License

Notifications You must be signed in to change notification settings

mgiaramita/ChatGPT-Plays-Zork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code style: black License: MIT

ChatGPT Plays Zork

   ____ _           _    ____ ____ _____ 
  / ___| |__   __ _| |_ / ___|  _ \_   _|
 | |   | '_ \ / _` | __| |  _| |_) || |  
 | |___| | | | (_| | |_| |_| |  __/ | |  
  \____|_| |_|\__,_|\__|\____|_|    |_|  
 |  _ \| | __ _ _   _ ___                
 | |_) | |/ _` | | | / __|               
 |  __/| | (_| | |_| \__ \               
 |_|   |_|\__,_|\__, |___/               
  ________  ____|___/__                  
 |__  / _ \|  _ \| |/ /                  
   / / | | | |_) | ' /                   
  / /| |_| |  _ <| . \                   
 /____\___/|_| \_\_|\_\                  
                                         
Let ChatGPT take a break and have some fun; it can now play Zork on your computer.

What is it?

  • Another command line tool for the OpenAI API - Docs.
  • Allows ChatGPT to play through the classic game Zork.
  • It will try its best to play through the game. You can continue or stop the game at each step in execution.

1 2

How to install.

How to use.

  • Add your OpenAI API key to config.ini.
  • Ensure Zork command in config.ini is correct or update it for your specific install.
    • If Installed on Mac with brew link from above it will work with the default.
  • python3 chatgpt_plays_zork.py
    • Run default application.
  • python3 chatgpt_plays_zork.py -h
    • Display help message.
  • python3 chatgpt_plays_zork.py -m "gpt-4"
    • Use model "gpt-4".

About

ChatGPT attempts to play through the classic game Zork (Dungeon).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages