This video will give you a concept of how OpenAI Gym and Pygame work together.
This one is intended to be the first video of a series in which I will cover basic games like snake to use Reinforcement Learning Models to Train agents.
Chapters:
0:00 – Introduction
0:32 – Installing Packages
1:45 – Coding Snake Game
20:47 – Building Gym Environment
32:04 – Training Snake Agent
code for this tutorial: https://github.com/LetTheCodePlay/OpenAIGym/tree/main/Pygame/Snake