Replit is an in-browser IDE that supports many programming languages, including Python. It also has special support for PyGame projects.
If you wish to use this PyGameZero Tutorial inside Replit you can follow this brief set of instructions:
Create an account
Create a new PyGame project
Click on the Shell tab and run:
pip install pgzero
Add folder images
Place whichever images you need for your game in the images directory
Write your code in the main.py file and Run
The first time you run the program it will take some time to resolve dependencies from the PyGameZero package.
NOTE: Make sure to size the Game Window to fit the entire game (max game area is 800x600)