Giter VIP home page Giter VIP logo

kahoot-god's Introduction

Kahoot God (Kahoot Answer Bot)

This is a script that automatically screenshots a Kahoot game's questions and options, processes them, and then consults with OpenAI's GPT-4 to get the most likely answer. View the video here Kahoot god video

Prerequisites

  • Python 3.6 or above
  • Tesseract OCR
  • OpenAI API key

Installation & Setup

  1. Clone the repository

  2. Install the necessary Python packages (make a venv) and then in the terminal type pip install -r requirements.txt

  3. Make sure you have Tesseract installed. If not, you can download it from here. Remember the path where tesseract.exe is located.

  4. Update the pytesseract.pytesseract.tesseract_cmd in the script with your path to tesseract.exe.

  5. Update the openai.api_key in the script with your OpenAI API key. If you don't have one, you can sign up at OpenAI.

  6. Update the coordinates in the scripts to fit your needs, if the current ones don't work

Using the Program

  1. Launch your Kahoot game (or whatever you wanna do) and make sure it's visible on your screen.
  2. Run the script with this command: python [script-name.py] ex: python kahoot_god.py
  3. Whenever you're ready to run the script press ctrl+alt+t (You can modify these in the script too)

##Notes The script uses screen coordinates to determine where to screenshot for questions and answers. You may need to adjust these if you have a different screen resolution or if Kahoot's layout changes.

The bot makes educated guesses based on the information it receives. It's not guaranteed to always get the right answer, especially if questions require knowledge of images or videos.

Contributions

Contributions are welcome! Please make sure to test your changes thoroughly before submitting a pull request.

kahoot-god's People

Contributors

the-codingsloth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.