Re:Twenty years later I wrote a Tetris again
by blockoperation on Monday October 24, 2016 @03:00PM
(#12781759)
Tetris is my go-to learning project as well.
I can read all the tutorials in the world, but I don't feel comfortable with a new language/platform/toolkit/etc until I've ported Tetris to it.
I go as far as making every implementation replay-compatible for ease of testing (and also because it's just really satisfying watching half a dozen entirely different implementations of the same game running in frame-perfect harmony).
Right now I'm working on a Haskell port, and as a beginner to FP, it's quite a mind-bending experience trying to implement something so familiar in such an alien language.
Re:Twenty years later I wrote a Tetris again
by alfonsodev on Sunday October 23, 2016 @03:16PM
(#12774956)
I use Tetris to learn too, here my last implementation in javascript, I've started to learn Nodejs and how to reuse code with browserify, the version worked in the terminal and the browser.
I would like to take time to rewrite it again in ES6/7, and then start learning other things like AI.
edit:
https://github.com/alfonsodev/tetrinode/tree/dev-0.2
This is a great exercise.