In this Python Reinforcement Learning Tutorial series we teach an AI to play Snake! We build everything from scratch using Pygame and PyTorch. The origin idea is from python engineer
Environment: Ubuntu 20.04
chmod +x install_python.sh
./install_python.sh
sudo apt-get install python3-tk
pip3 install -r requirements.txt
python snake_game_human.py
python agent.py