8000 GitHub - AuYang261/RL_Snake: Play Gluttonous Snake game by reinforce learning(用强化学习玩贪吃蛇) · GitHub
[go: up one dir, main page]

Skip to content
AuYang261Public

About

Play Gluttonous Snake game by reinforce learning(用强化学习玩贪吃蛇)

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

RL_Snake

Play Gluttonous Snake game by reinforce learning.

Dependence

  • python lib: pygame, numpy, matplotlib.

    ​ Run command follow to install:

    pip install pygame
    pip install numpy
    pip install matplotlib

Quick Run

Use view.py to run game performed by a trained model:

python view.py

image-20231014171227526

Train

Use train.py to train model:

python train.py

You can use custom configuration to train by editing this file.

About

Play Gluttonous Snake game by reinforce learning(用强化学习玩贪吃蛇)

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0