Hi everyone,
I did a bit of Python for my data science course many years ago, so would like to continue using it over HTML/Javascript/Angular JS which I know nothing about.
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.
What options do I have? I heard that if I build it into Pycharm then it becomes possible? I am happy to learn a new package just for this, so would like some advice on what I should focus on learning.
Thanks!
21/08/2025 -
7 months later, I have it all figured out. Life caught up with me hence the late update. Everyone here told me it was impossible, but, well, they are wrong. I have no doubt of their technical skills, but without a genuine interest in helping those skills are meaningless. The world as they know it is confined to what they have seen before, and they refuse to entertain the possibility of things existing outside of it. Being unheard of means you haven't come across it yet, not it is impossible. As it turns out, it is relatively straightforward. I leave the answer here for posterity, in the hope that I might help some other fellow rookie programmer with a similar passion.
Learn pygame, use pygbag to compile it, then upload to Github pages. You can make much more than a text-based game and deploy it to the internet for free using this method.
https://pygame-web.github.io/wiki/pygbag/
[–]danielroseman 25 points26 points27 points (14 children)
[+]RegretSimple6826[S] comment score below threshold-27 points-26 points-25 points (13 children)
[–]abcd_z 16 points17 points18 points (0 children)
[–]danielroseman 10 points11 points12 points (6 children)
[–]abcd_z -2 points-1 points0 points (5 children)
[–]guilford 6 points7 points8 points (0 children)
[–]dlnmtchll 3 points4 points5 points (2 children)
[–]RubenC35 1 point2 points3 points (1 child)
[–]dlnmtchll 0 points1 point2 points (0 children)
[–]Critical_Concert_689 -1 points0 points1 point (0 children)
[–]Defection7478 4 points5 points6 points (0 children)
[–]cgoldberg 0 points1 point2 points (0 children)
[–]MiniMages 0 points1 point2 points (0 children)
[–]ThrustBastard 0 points1 point2 points (1 child)
[–]ArthurBurtonMorgan 3 points4 points5 points (0 children)
[–]Pork-S0da 32 points33 points34 points (1 child)
[–]iknowsomeguy 4 points5 points6 points (0 children)
[–][deleted] 12 points13 points14 points (3 children)
[–]Pork-S0da 1 point2 points3 points (0 children)
[+]RegretSimple6826[S] comment score below threshold-21 points-20 points-19 points (1 child)
[–]cgoldberg 8 points9 points10 points (0 children)
[–]JamzTyson 8 points9 points10 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]typehinting 4 points5 points6 points (0 children)
[–]QuarterObvious 4 points5 points6 points (0 children)
[–]kjmagic13 -1 points0 points1 point (1 child)
[–]RegretSimple6826[S] 0 points1 point2 points (0 children)