Embedding onto website without displaying code
Hi there, I was just wondering whether it was possible to embed a Repl onto a website or anywhere without displaying the code but, only the end result ?
@BlaiseKern You go to share, then there is a copy embed code button at the bottom of that menu. Click that button to copy it, then paste it into a text editor or something of the sort so that you can edit it. The code will have say iframe and then it will say height and width. Ignore that part of the tag. After that, it will say src= and have your username and the name of your project. At the end of that there will be this line: ?lite="true". Replace that with ?lite=1&outputonly=1(the code above.) pasting this into a website that makes websites(like wix or google sites), or into an HTML project will make you python project run in there. :)
RIP man. I can tell you spent so much time on this cool game, and yet there's still an error in your code. As for your question, use the Iframe to embed the REPL.RUN version of your repl. You can access the repl.run from the top corner of your repl.
top right corner? See that arrow?
11/24/20 EDIT: Repl.run is gone now, not sure how you're gonna do this
Next to the URL (in the console's top bar) is a square with a diagonal arrow. Clicking it will open a new tab with ONLY the console output of your repl