Re:Twenty years later I wrote a Tetris again
by m45t3r on Sunday October 23, 2016 @12:09PM
(#12774075)
"...the majority of them in node.js, so now I need to install 500MB of dependencies to play a simple game of Tetris."
[ Parent
| on HN ]
Re:Twenty years later I wrote a Tetris again
by formula1 on Sunday October 23, 2016 @12:20PM
(#12774126)
"... I then proceeded to rip out dependencies until I no longer needed to. I put up another one called Tetris-Lite. After a quick search I found that already existed."
Re:Twenty years later I wrote a Tetris again
by notgood on Sunday October 23, 2016 @05:21PM
(#12775489)
"so I looked for python versions, but there were only versions of python 2.7 and my PC has installed python 3.0; after downgrading I realized this version uses the win32api, which doesn't exist in my Mac. After much frustration I went on the internet to ramble about how bad is nodeJS and JavaScript fatigue"
Re:Twenty years later I wrote a Tetris again
by valera_rozuvan on Sunday October 23, 2016 @12:29PM
(#12774174)
Check out https://github.com/mafintosh/tetris . This is a Node.js based Tetris clone, with only 46KB of dependencies.
Please provide an example of a Node.js project which downloads 500MB of deps.
Re:Twenty years later I wrote a Tetris again
by guessmyname on Sunday October 23, 2016 @12:54PM
(#12774275)
One? LOL, here are some that I know require ~600MB of dependencies:
- https://github.com/shockone/black-screen
And there are hundreds of them, specially if they require Babel which by itself requires a significant amount of disk space, but since you were lazy to find these projects by yourself, I will be lazy too and just list three of them, I will leave the rest to your imagination.