Jonathan Tang's Corner of the Web
Tetris
This was a response to Ben Hoyt's Tetris, the new FizzBuzz challenge. It implements a Tetris clone in a couple hundred lines of pure JavaScript & CSS, using no frameworks, images, libraries, or canvas. Features include:
-
Pieces follow official Tetris color guidelines. :-)
-
Score, line, and level counts
-
Speeds up as level increases
-
Music, courtesy of http://www.wrongway.org/?polltetris
-
Next piece display
Download (tarball) |
Download (single file) |
API Docs |
Online Demo
(Comments disabled due to the onslaught of spam. Alas, django-threaded-comment moderation doesn't work with Django 1.0+. Will re-enable when I have time to find a replacement.)