Some artificial intelligence projects, using the Gymnasium library, which has many predefined environments. The project is first divided into the different library projects, and then it is divided between the Google Colab environments and the raw Python code.
You can find and access the resources used in the following link: https://gymnasium.farama.org/
Lunar Lander, Pacman and Kung Fu has been developed as part of the following Udemy course: https://www.udemy.com/course/artificial-intelligence-az/. Some parts of these codes are based on examples provided in the course or associated learning material. If you want an extensive and detailed step-by-step explanation, I recommend you to enroll in the original course.