Skip to content

About

Implementing Monte Carlo reinforcement learning and snake from scratch.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReinforcedSnake

Using reinforcement learning with Monte Carlo evaluation and control to play Snake.

Snake game was implemented from scratch by using PyGame.

Monte Carlo control and evaluation were implemented from scratch using Python, resulting in 3 main classes for:

  • Evaluation
  • Policy
  • State

The game is correctly played after reaching exploration rate 0, by avoiding the tail and catching the food.

Press space bar to increase FPS and learning speed.

About

Implementing Monte Carlo reinforcement learning and snake from scratch.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages