r/computerscience • u/Ilya-Pasternak • Jan 11 '24
Help I don't understand coding as a concept
I'm not asking someone to write an essay but I'm not that dumb either.
I look at basic coding for html and python and I'm like, ok so you can move stuff around ur computer... and then I look at a video game and go "how did they code that."
It's not processing in my head how you can code a startup, a main menu, graphics, pictures, actions, input. Especially without needing 8 million lines of code.
TLDR: HOW DO LETTERS MAKE A VIDEO GAME. HOW CAN YOU CREATE A COMPLETE GAME FROM SCRATCH STARTING WITH A SINGLE LINE OF CODE?????
348
Upvotes
1
u/Ilya-Pasternak Jan 11 '24
Ohhh ok I get game engines are like squarespace for games. Not as easy definitely not but similar in concept that you write the code on top of an already built foundation that helps