bot to automatically play https://tetr.io. utilizing a modified eltetris and robotjs modules.
the bot automatically starts into zen mode and completes the first level.
$ sudo apt install chromium xserver-xephyr libxtst-dev libpng++-dev python g++ make
$ git clone https://github.com/misterhat/tetrio-bot
$ cd tetrio-bot && npm install
make sure the game quality is set to minimal for the best performance.
$ ./tetrio.sh
Copyright (C) 2021 Zorian Medwid
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.