/Snake

Primary LanguagePythonMIT LicenseMIT

English Chatbot

Introduction to the Project:

This project is using reinforcement learning to play snake game

This Project is modified base on original Project : https://github.com/patrickloeber/snake-ai-pytorch (A Great Thanks!)

Explain to Each Folder and File:

agent: help connenct game control and AI model
game: game control panel
model: model and training stuff

Recommend Environment:

python 3.8, pygame: 2.1.2, pytorch: 1.12

Running Procedures:

run agent.py

77 epoch trainning model example:

alt text alt text alt text