JavaScript Tetris

Posted on June 12, 2009

Because I have nothing better to do with my time I wrote a Tetris game in JavaScript. I know there are plenty out there already but it was fun to make and it brought back some memories (I wrote my first Tetris game in DOS when I was 14). Coincidentally, Tetris just turned 25.

I released it under GPL, feel free to grab the code from the source and do whatever you like with it.

Play the game at elbertf.com/tetris

Scroll to top

Comments (4)

  • Still a few bugs in it :P when it hits the “floor” you still can move it, witch makes some of them “hover”. http://yfrog.com/5jnaamloos2qykp

    Posted by Svenn on June 13, 2009 Reply

  • Weird, I can't reproduce it. They're supposed to continue falling when you move them after they landed.

    Posted by ElbertF on June 13, 2009 Reply

  • It happens, when you push down untill it hits a block, then move it left/right and the next block comes the other one doesn't go down :P

    Posted by Svenn on June 17, 2009 Reply

  • It happens, when you push down untill it hits a block, then move it left/right and the next block comes the other one doesn't go down :P

    Posted by Svenn on June 17, 2009 Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Fork me on GitHub