Javascript Tetris with Tweetable Source Code


    A curious example of minimalism was demonstrated by a GitHub user with the nickname Aemkei.

    In the screenshot is the famous Tetris game, on the right is its source code. You cannot rotate figures in the game, there is no scoring - but it can boast of a JS code size: less than 140 bytes.

    You can play here .

    Github of the author with his comments.

    UPD: Apparently, the author - Martin Kleppe - is busy doing what he loves: he also has implementations of the Life game in JavaScript (140 bytes) and Ruby (140 characters).

    Also popular now: