+ 1
Do you know JavaScript? Yea? Good, because I really, really need help with a couple questions.
I've been at JS for over 8 months now, went through SoloL[JS course] like 2.5 times (new (3rd)account, passed the tests instead of going back a 3rd time.) why cant i get my head wrapped around the logic of... like what all needs to be included [logically] (like: if i want to build say a tetris game.(done it already) when i think about it, all i can come up with is i need a canvas, some matrices, fill(), and this is where i get stumped and dump file. I really, really, really want to get better so i can sit and bust out some [working] JavaScript and not even break a sweat. I FEEL LIKE I JUST BOUGHT 400gal of gas during the depression and dont even have a car or know how to drive. Anything helps, yo.
2 Antworten
+ 5
You have an extremely valid question.
There is a saying, "He who knows 'what', will always be the slave of he who knows 'why' ".
Programming is just a tool, and Javascript is just one of many tools.
I cannot answer your question except for telling you to keep learning.
Javascript is not a perfect language and its interdependence with Html and Css makes it difficult to work in.
I learn my bulk of Programming in Python and a book I found excellent is http://www.allitebooks.com/think-python/
0
@Black Forest,
@Louis is correct that all languages are just tools.
You are probably just overwhelmed by looking at the whole problem and trying to solve everything at once. The question we need to ask ourselves is how do we tackle everyday issues like eating a big bowl of ice cream or going from the bedroom to the bathroom? Nothing occurs instantly but 1 step at a time.
Programming a game is similar. It consists of many parts. For example, what is Tetris? Objects falling down, right? So we need something to represent those objects, but what? Next is the collision logic, then how to move the objects... but only one thing at a time.
Although some believe, programming just consists of typing code. There is work that is required before coding begins.
Good Luck!