mirror of
https://github.com/liyunze-coding/TwitchPlaysX.git
synced 2026-11-02 20:03:33 +00:00
Allows Twitch chat to play games like Pokemon!
| .gitignore | ||
| functions.py | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
Twitch Plays X (by RythonDev)
(Credits to [TwitchPlaysPokemon] and TwitchPlayX by hzoo)
Allows your Twitch chat to play games such as Pokemon!
How it works
- Connects to your Twitch chat
- Reads messages
- Check if messages contains controls only:
up up down down left right- passwhat's up- fail
- Executes keyboard controls
Installation
-
Install Python onto your machine
-
Download zip file or Clone the repo via:
git clone https://github.com/liyunze-coding/TwitchPlaysX.git -
Modify
CHANNEL_NAMEinmain.py:CHANNEL_NAME = "rythondev" -
Install the requirements:
Windows:
pip install pywin32Linux:
sudo apt-get install xdotool -
Run the script:
py main.py