Live data from Hacker News

Twenty years later I wrote a Tetris again

blog.levit.be

1–10 of 43 posts

Re: Twenty years later I wrote a Tetris again

#3

"One night in May of 1996 I was bored and wanted to play Tetris very badly..." now this is how a great programming story should start :-)

"... so I connected my laptop to the internet, searched github, and within minutes I found several great implementations" ;)

Re: Twenty years later I wrote a Tetris again

#4
post #3

"One night in May of 1996 I was bored and wanted to play Tetris very badly..." now this is how a great programming story should start :-)

"... so I connected my laptop to the internet, searched github, and within minutes I found several great implementations" ;)

GitHub in 1996? Ha.

Re: Twenty years later I wrote a Tetris again

#5
post #4
post #3

Earlier quoted context omitted.

"... so I connected my laptop to the internet, searched github, and within minutes I found several great implementations" ;)

GitHub in 1996? Ha.

Surely tsx-11 or sunsite would have something, right?

Re: Twenty years later I wrote a Tetris again

#6
post #3

"One night in May of 1996 I was bored and wanted to play Tetris very badly..." now this is how a great programming story should start :-)

"... so I connected my laptop to the internet, searched github, and within minutes I found several great implementations" ;)

"...the majority of them in node.js, so now I need to install 500MB of dependencies to play a simple game of Tetris."

Re: Twenty years later I wrote a Tetris again

#7
I think any re-implementation of something you are fond of is a great exercise. It reminds me of a small project in undergrad for a networking course. Our professor's assignment for the quarter was to implement a basic TCP stack using the UDP protocol. It wasn't perfect and had quirks but it worked for a basic client/server model and gave me a huge appreciate for what happens when we use the internet.

I think the higher up the stack you go the easier it is to lose appreciate for all the lower layers that facilitate your stack. And over time I fear new generations of programmers are losing touch with what the basic foundation of a computer is. Sure they will study theory but do they really know how many man hours are supporting their stack?

Re: Twenty years later I wrote a Tetris again

#8
post #6
post #3

Earlier quoted context omitted.

"... so I connected my laptop to the internet, searched github, and within minutes I found several great implementations" ;)

"...the majority of them in node.js, so now I need to install 500MB of dependencies to play a simple game of Tetris."

"... 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

#10
post #6
post #3

Earlier quoted context omitted.

"... so I connected my laptop to the internet, searched github, and within minutes I found several great implementations" ;)

"...the majority of them in node.js, so now I need to install 500MB of dependencies to play a simple game of Tetris."

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.

Post reply on HN