cargo build --release pip install -r requirements.txt python neat_tetris.py
To run the tetris AI, first open https://web.itu.edu.tr/~msilgu/tetris/tetris.html in your browser, then make sure it is visible on your desktop and run the python script.
pip install -r requirements.txt python denis.py
Then start a game on the webpage and press the space key to let the control to the AI.