Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 466 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 466 Bytes

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.