Coordinate System - DerekJi/ngtetris GitHub Wiki

In Tetris, pieces are falling down. Consequently, it's reasonable to set

  • The zero point at the top-left corner;
  • X value increases to the right;
  • Y values increases to the downside;

image