Piece Directions: UP | DOWN | RIGHT | LEFT - DerekJi/ngtetris GitHub Wiki

Every piece has 4 directions: UP, RIGHT, DOWN, LEFT.

It doesn't really matter what every direction looks like. But, it should be reasonable as rotating clockwise or anti-clockwise.

Take L shape, for instance,

  • UP:

image

  • RIGHT:

image

  • DOWN:

image

  • LEFT:

image