2 Views· 30/06/24· Experiments

Python + PyTorch + Pygame Reinforcement Learning – Train an AI to Play Snake


mass
Subscribers

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-engi....neer/snake-ai-pytorc

✏️ Course developed by Python Engineer. Check out his YouTube channel: https://www.youtube.com/channe....l/UCbXgNpp0jedKWcQiU

🎨 Art by Rachel: http://rachel.likespizza.com/

⭐️ 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

Show more

Up next


0 Comments