In this Python Reinforcement Learning course you will learn how to teach an AI to play Snake! We build everything from scratch using Pygame and PyTorch.
π» Code: https://github.com/python-engineer/snake-ai-pytorch
βοΈ Course developed by Python Engineer. Check out his YouTube channel: https://www.youtube.com/channel/UCbXgNpp0jedKWcQiULLbDTA
π¨ Art by Rachel: http://rachel.likespizza.com/
β€οΈ Try interactive Python courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Python (Made possible by a grant from our friends at Scrimba)
βοΈ Course Contents βοΈ
β¨οΈ (0:00:00) Part 1: Basics of Reinforcement Learning and Deep Q Learning
β¨οΈ (0:17:22) Part 2: Setup environment and implement snake game
β¨οΈ (0:40:07) Part 3: Implement agent to control game
β¨οΈ (1:10:59) Part 4: Create and train neural network
π Thanks to our Champion and Sponsor supporters:
πΎ Raymond Odero
πΎ AgustΓn Kussrow
πΎ aldo ferretti
πΎ Otis Morgan
πΎ DeezMaster
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
source




