Skip to content

Implementing Monte Carlo reinforcement learning and snake from scratch.

Notifications You must be signed in to change notification settings

francBara/ReinforcedSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages