ZYunfeii/DRL4SnakeGame

Using deep reinforcement learning to play Snake game(贪吃蛇).

44
/ 100
Emerging

Implements PPO (Proximal Policy Optimization) for discrete action spaces with a custom PyTorch neural network architecture, achieving convergence in approximately 30 minutes of training. The project includes a pygame-based Snake environment simulator, reward visualization via matplotlib/seaborn, and modular separation between the RL agent, network architecture, and game environment for easy extension or adaptation to other discrete control problems.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

82

Forks

18

Language

Python

License

MIT

Category

snake-game-ai

Last pushed

Sep 12, 2021

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/ZYunfeii/DRL4SnakeGame"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.