2 ms·
I’m surprised how close JS has gotten to this: https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript/Move_the_ball#compare_
by hedora 3y ago
I’m surprised how close JS has gotten to this:
https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript/Move_the_ball#compare_your_code https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_...
It’s not quite there, but getting to a context similar to a qbasic graphics mode is only 10-20 lines of boilerplate.
- musicale 3y agoI used to think that Python was a modern BASIC-type language because you can learn the basics (so to speak) in an afternoon. Now I consider JavaScript as more of a modern BASIC because of its ubiquity - it is included in basically anything that has a web browser (Like BASIC, JavaScript also has its own set of idiosyncracies, many of which derive from its environment.)