+ 4

Is making an entire game in html a sin?

I made a html port of subway surfers (I don't think anybody has done something like this) anyway check it out https://code.sololearn.com/W86Plth4Wr3L/?ref=app https://code.sololearn.com/WbRFV76HJHiF/?ref=app

3rd Oct 2023, 10:41 PM
Noah Radcliffe Duncan
Noah Radcliffe Duncan - avatar
11 ответов
+ 2
Thanks Noah Radcliffe Duncan To answer your question. I'd have to say it's not a sin but it may not be practical depending on how large the project becomes. It's a good practice to keep HTML pages relatively small for quicker initial loading. Then, as you have the user's attention, you can gradually preload additional content from other sources. This approach ensures that users get a snappy experience while still having access to rich content.
5th Oct 2023, 3:46 PM
Chris Coder
Chris Coder - avatar
+ 8
3 things: 1) Is this your code? If not, it is HIGHLY encouraged you cite your source and give credit where it's due. If it is yours, nice work. 2) this may not be allowed... 3) this isn't the place to post this. You can post codes you want people to check out, in your feed. Q&A is for asking questions, hence the name... Ok. 4 things, 4) it's actually not made entirely in HTML, in fact there's more JS than HTML.
4th Oct 2023, 1:23 AM
Aaron Lee
Aaron Lee - avatar
+ 6
Nope sorry nothing new. Just an Iframe. All that extra code isn't needed. https://code.sololearn.com/WtuW362mtI0d/?ref=app
4th Oct 2023, 2:18 AM
Chris Coder
Chris Coder - avatar
+ 5
Anyone can commit a sin, as long as they repent afterward and say ten rosaries as penance. Only pineapple on pizza is unforgivable.
4th Oct 2023, 8:55 AM
Jan Markus
+ 2
Ok, so to answer Aaron Lee. It is not my code. I did write some of it. However, the game itself is from a webgl port, and it would be impossible for me to make this from scratch. And i first put this one on my website, so I copied it onto it here. I did on my website. However, i forgot to cite my sources. And I'm sorry i didn't realize this is where you post questions 😅 I'm a little new here. The reason I said "entirely html" was because I pasted it directly into html. Second Chris coder. It is an iframe. However, it's designed to be unblocked in schools. hence all the extra stuff. if that helps.
4th Oct 2023, 7:27 AM
Noah Radcliffe Duncan
Noah Radcliffe Duncan - avatar
+ 1
Viktoriia Mostova Chat GPT?? Is that you?😂(just kidding)
5th Oct 2023, 4:11 AM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
Jan Markus 🤣
5th Oct 2023, 4:08 AM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
omg this is great!!
5th Oct 2023, 11:54 AM
nayira samy
nayira samy - avatar
0
This is cool
5th Oct 2023, 2:00 PM
Eesa Mahmood
Eesa Mahmood - avatar
0
Mirielle You know that I am just kidding 😂 😜
5th Oct 2023, 4:48 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
<!DOCTYPE html> <html><head><base target="_blank"><base target="_blank">   <style>body,html,iframe{margin:0;padding:0;height:100%;width:100%;overflow:hidden}.forceIosScrolling{overflow:scroll;-webkit-overflow-scrolling:touch}</style> <script src="https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.en.L92w_vMR5kE.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo-GjmyR8TQVDKPrbqj5UQg7cU3cCA/cb=gapi.loaded_0?le=scs" async=""></script><script src="https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.tr.vtM7IqfIyiA.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo_r7A93gXyFeczdTXWLKRebiVNFgw/cb=gapi.loaded_0?le=scs" async=""></script><script src="https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.tr.vtM7IqfIyiA.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo_r7A93gXyFeczdTXWLKRebiVNFgw/cb=gapi.loaded_0?le=scs" async=""></script><script>/******/ (() => { // webpackBootstrap /******/ "use strict"; var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ../core/dist/flash-identifiers.js const FLASH_MIMETYPE = "applic
5th Oct 2023, 8:38 PM
Germain Blondy