Created on 4/22/2023.
Uses DQN to learn from game state interactions in a game of Snake, programmed in Python using the Pygame library. Everything built from scratch using Pygame and PyTorch.
Conda must be installed on your machine, use the installer for Anaconda here: https://docs.conda.io/projects/continuumio-conda/en/latest/user-guide/install/macos.html
direnv allow
npm start
conda activate pygame_env_new
pip install pygame
python agent.py