Word Guessing Game With Python and ChaptGPT

Project

This is a word guessing game based on ChatGPT API. Choose skill level and you have 5 lives try to guess all the letters and find the word.

How To Play

After cloning the project

  • If you have funds in ChatGPT API wallet you can create your .env file in project folder and assign your API key to OPENAI_API_KEY variable.

    Screenshot 2024-02-02 at 01 12 24

  • If you dont have funds and want to try the project just comment the API part and assign a question and an answer to the variables.

    Screenshot 2024-02-02 at 01 16 58
    Screenshot 2024-02-02 at 01 17 52

Run The Project

  • Select a level.
    Screenshot 2024-02-02 at 01 30 31
  • Now start guessing the word. Have Fun!
    Screenshot 2024-02-02 at 01 30 52