I recently created a simple typing game using the PyGame library, and it's running perfectly on my Linux virtual machine. However, when I uploaded the game files to my GitHub repository, including the required requirements.txt file, I ran into issues. I linked it to the main branch, but when I tried to access the URL to play the game, I just got a 404 error. I'm feeling a bit lost about how to make it accessible. Any advice would be appreciated!
1 Answer
GitHub is primarily a hosting service for storing code and tracking changes. It won't execute your Python game for you. If others want to play your game, they'll need to clone your repository and run it locally using Python. Just keep in mind that they'll need to have Python installed and also set up any dependencies you listed in requirements.txt!

Got it! So if someone wants to play, they just clone it and run it locally.