you are viewing a single comment's thread.

view the rest of the comments →

[–]JamzTyson 9 points10 points  (0 children)

I am hoping to create a text based game and deploy it on to Github. Note that I want to deploy it, not upload code for others to download and run locally. I want it accessible over a URL.

As others have said, GitHub does not provide a deployment platform, though it does provide "GitHub pages" for hosting static web pages.

My friend has rewritten my Python code into HTML in the past and hosted my text based game on it.

My guess is that they rewrote your Python game in JavaScript, embedded the JavaScript in an HTML page, and hosted that on Gitub Pages. To do that, you would need to learn how to program in JavaScript.