This project aims to create an agent that plays Tetris on tetr.io automatically. It utilizes Selenium for automation and implements cv2 for computer vision.
In this project, we develop an agent that plays Tetris on tetr.io. The agent uses automated functions implemented with Selenium to interact with the game interface. Additionally, it utilizes cv2 for computer vision to analyze the game state and make intelligent decisions.
To install and run this project, follow these steps:
- Clone the repository:
git clone https://github.com/CesarFRR/isi_tetris_ia.git
- Install the required dependencies:
pip install -r requirements.txt
- We're using the python 3.11.5 version
To use the Tetris agent, follow these steps:
- Run the main script:
python main.py
- The agent will automatically launch the browser and start playing Tetris on tetr.io.
Using python 3.11.5 (64-bit) | March 2024
We welcome contributions from the community. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.