[go: up one dir, main page]

Skip to content

An interactive current events simulation game using the ChatGPT API

Notifications You must be signed in to change notification settings

jagilley/gpt-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-sim

A text-based game where you act as the head of state for any country and your policies are evaluated and implemented by GPT!

to play:

  1. Clone this repo
  2. Run pip install -r requirements.txt
  3. Make sure you have the langchain package updated to the latest version: pip install --upgrade langchain
  4. Export your OpenAI key to environment with export OPENAI_API_KEY='your-api-key-here'
  5. Run python3 game.py --country 'Afghanistan'

About

An interactive current events simulation game using the ChatGPT API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages