Computer game on website

Hello, I created a game with pygame and want to know if there is a way to put the game on the website I made so people can play it.

1 Like

It should be available on the replit cover page. (Add ?v=1 to your url) If you want to put it on a website I am afraid that is extremely complicated as python, let alone py game does not run on the web.

Is it possible to have it as an extension

Have what as an extension, and what kind of extension, could you clarify?

Like, have a link on the website, that they could click on then would bring them to a separate page where they could access the game.

Like this: https://docs.replit.com/hosting/embedding-repls? You could also just link your repl cover page, as I said above.

2 Likes

Yeah, like that. Thank you for the help.

1 Like

If this solved your problem, please mark my previous message as the “solution” so that others won’t come to help on an already solved topic.

You can try doing this https://@USERNAME/REPLNAME/?embed=true and put that into an iframe. I think that should work.

This has been solved lol.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.