Skip to content

Python Reinforcement Learning where we use AI to play Snake!

Notifications You must be signed in to change notification settings

Poo-wei-chien/snake-ai-pytorch

Repository files navigation

Python Reinforcement Learning where we teach an AI to play Snake! It's build using Pygame and PyTorch.

Snake AI image

Installation

  1. Clone the repository
  2. Install the dependencies
  3. Run python agent.py

Dependencies

  • Python 3.7
  • Pygame
  • PyTorch

Usage

Run python agent.py to train the agent.

Credits

About

Python Reinforcement Learning where we use AI to play Snake!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages