0

In my program I am making the game Tetris! How could I rotate my char array piece? I know how to get the key syncs and everything. I could make each piece already rotated in the char, but is their an easier way? Here is my char array I'd use.

char block[4][5] = { 
      "     ",
      " x   ",
      " xxx ", 
      "     ", };
manlio
  • 18,345
  • 14
  • 76
  • 126

0 Answers0