Bulit a pygame and would like to embed it on my site

My script works perfectly in the output, is there a way to embed this? Thank you!

code snippet

Hi @revmfitz , welcome to the forums!
You can’t embed the Output on a website, as it will have to be run first.
Even if you put the repl in an iframe, the new update requires users to fork the repl to run it.
Hope this helps!

That does help, thank you. Can I do so if it is running?

Not quite. You might want to look into a Python interpreter for JavaScript, like PyScript.

2 Likes