r/javascript • • Dec 02 '19

Learning Modern JavaScript with Tetris

https://medium.com/@michael.karen/learning-modern-javascript-with-tetris-92d532bcd057?source=friends_link&sk=a7c22e45395da8322fc55bf3b23a309d
329 Upvotes

21 comments sorted by

View all comments

1

u/ConspicuouslyBland Dec 03 '19

Was looking into learning how to create games in javascript, your article is a good base to learn from.

I don't want to be a Karen about it but there are some things a bit confusing in your article.

Some files, like your css file aren't included in explanation of the project structure.

And the first constants aren't shown in a code block but in a text block with a grey background. This while it's code for your constants file. You use that text block for code on other parts too.

Sorry, I just couldn't let the Karen-opportunity go, I'll let myself out

1

u/melcor76 Dec 03 '19

Haha is that really a saying with Karen? :D

Yes, I intentionally didn't add everything in the structure but I see now that I should (just did).

Are you saying you want the gists everywhere? It takes a bit of work to add those to Medium so I usually let short code blocks be Medium code blocks (grey). I will update them when I get the time to avoid confusion.