TimShaw1 / Among-Us-AI

An AI that plays Among Us
https://www.youtube.com/@Tim-Shaw
MIT License
24 stars 3 forks source link
ai among-us among-us-script modding-games

Behold: The Among Us AI!

2024-06-15_10-18-54

The Among Us AI is a bot that I designed in python to play the popular social deduction game Among Us.

Here's a video I made detailing the creation process: https://youtu.be/VF41pxxw9uw

This bot is currently not functional due to updates made to the game. I'll take a look when I can

Features

Setup Requirements

Video runthrough: https://youtu.be/N7ztLdSIjwQ

  1. Have python installed (I used python 3.9.2)
  2. Clone the repository and run the command pip install -r requirements.txt
  3. Download the latest release from releases (both the source code zip AND AmongUsAI-BepInEx)
    • Extract the BepInEx zip file, then navigate in until you see the BepInEx folder (do not navigate into this folder)
    • Select every file, then drag and drop into your Among Us directory (Usually C:\Program Files (x86)\Steam\steamapps\common\Among Us)
    • Also extract the source code and open it in VS Code
  4. Copy the path of your among us install folder and paste it in sendDataDir.txt
    • Right click the folder name "Among Us" from the top bar and select "Copy address as text"
  5. Get an API key from your OpenAI account and paste it in a new file called APIkey.txt
  6. Hop into a game (make sure game is windowed) and run main.py!
  7. Press ` to stop the bot (you may need to press Ctrl+C in the command line to stop the script)

Recommendations

Upcoming Features

Known Issues