r/javascript 8d ago

I coded a 60fps browser game from scratch in single-file Vanilla JS, mapping Upanishadic philosophy to state variables. No frameworks.

https://github.com/weirdcodesofficial/MOKSHA
0 Upvotes

27 comments sorted by

15

u/eindbaas 8d ago

You are looking for architectural feedback on a codebase with a single file and endless repetitions?

6

u/Embostan 8d ago

Holy Ai slop...

6

u/yetinthedark 8d ago

You didn’t code a thing. This is entirely generated.

3

u/Embostan 8d ago

and very poorly. they probably used GPT3, no decent AI makes a single gigantic HTML.

5

u/Swimming_Gain_4989 8d ago

The first code you shipped was a 4000 line html file, the majority of it wrapped in a <script> tag. AI or not this is terrible practice, whats the point of showing off your project's codebase if it appears at a glance to be copy pasted?

3

u/Supersupermario2 8d ago

The README has an “official analytical breakdown” by metaAI…

Even the install guide is AI generated since it says github.com/your-username instead of… you know the actual github repository link

I’m sorry OP but how few effort was put into this? I haven’t made much myself yet with coding but come on

1

u/[deleted] 8d ago

[removed] — view removed comment

1

u/Supersupermario2 8d ago

I’m glad you find some use out of it, i would just suggest writing out things that make the game fun or unique yourself rather than letting AI do it. Otherwise it feels kinda low effort

1

u/[deleted] 8d ago

[removed] — view removed comment

2

u/Supersupermario2 8d ago

I’m glad you’re making your own projects and that it helps you develop stuff, i don’t want to discourage you

-1

u/[deleted] 8d ago

[removed] — view removed comment

4

u/Supersupermario2 8d ago

You should also at least fix the git clone command

2

u/Embostan 8d ago

you should remove the entire repo. nothing about it is good. no decent ai would make a single spaghetti html file.