Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tetris in j
Objective-J
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
tetris.j
tetris.min.j
tetris.oneline.j

README.md

tetris.j

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.

Something went wrong with that request. Please try again.