A clone of a popular block game done in Processing
Processing
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
disabled
Animation.pde
Block.pde
GameOverState.pde
GameState.pde
IPiece.pde
JPiece.pde
LPiece.pde
Level.pde
MenuState.pde
OPiece.pde
Piece.pde
PieceBag.pde
PlayState.pde
Point2d.pde
README.md
ReverseComparator.pde
RowAnimation.pde
SPiece.pde
Score.pde
TPiece.pde
Tatris.pde
VERSIONS
ZPiece.pde

README.md

Tatris

A "falling blocks game" written in Processing. Some notable features:

  • True random pieces - you'll never get 3 "line pieces" in a row. Or any other piece for that matter.
  • Sound effects - disable option
  • Offscreen rendering for effects when pausing etc
  • Increasing difficulty, although it's not very hard to play for a long time

Default controls:

  • Left Arrow = Left
  • Right Arrow = Right
  • Up Arrow = Rotate
  • Down Arrow = Down one line
  • Space = Drop piece
  • ESC = Menu / Pause

See it in action.

A post about how this was made.

TODO:

  • Occasional and hard to replicate Piece dropping bug, need to rework entire grid design