Create Vitual Environment python3 -m venv venv source env/bin/activate pip install -r requirements.txt Start user snake game python3 user_snake_game.py Start trainer python3 agent.py If model created and you want to use the previous model python3 agent.py model