Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a652808f6d
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.641 kb


The classic tetris game implemented in J. Fairly featureful:

  • hjkl to move/rotate/drop faster.
  • space to instant drop
  • colors
  • score
  • drop speed increases as score goes up

To run, just copy/paste one of the .j files into jconsole, (download here). I've only tested in 602; not sure if 701 will work.

There are three versions:

  • tetris.j is the original, fairly clean version
  • tetris.oneline.j is compacted to be a single (giant) function
  • tetris.min.j is a semi-manually "minified" version that aims for compactness.

All should behave identically.

Jump to Line
Something went wrong with that request. Please try again.