tuitris

Modern block stacking game in the terminal
Log | Files | Refs

piece.h (200B)


      1 #pragma once
      2 
      3 enum Piece {
      4     hi, /* need this so that O is 1 so that it can be init_paired */
      5     O,I,T,L,J,S,Z,
      6     PIECE_CNT,
      7 };
      8 
      9 enum Rotation {
     10     NORTH, EAST, SOUTH, WEST,
     11     ROTATION_CNT
     12 };