Arduino Tetris Game Max7219 8x8 Matrix Display

Arduino Tetris Game Max7219 8x8 Matrix Display CIRCUIT DIAGRAM : MATERIALS : Arduino NANO Matrix 8x8 Display PushButton Buzzer Breadboard Jumper Wire CODE : #include <LedControl.h> LedControl lc = LedControl(12, 11, 10, 2); // (dataPin, clockPin, csPin, totalDevices) int lc0[] = {0, 0, 0, 0, 0, 0, 0, 0}; int lc1[] = {0, 0, 0, 0, 0, 0, 0, 0}; long active[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; long screen[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; int tmpCol = 0; int figura = 0; int figuraNext = 0; int fromLeft = 0; int fromRight = 0; int angle = 0; int colCheck = 0; int moveCheck = 0; int score = 0; int started = 0; int lcRows = 16; int lcCols = 8; int allLines = 0; int currLines = 0; int brickDelay = 0; int defDelay = 500; int level = 0; boolean sound = true; //Pinos int rotate_button = 2; int left_button = 3; int down_button = 4; int right_button = 5; int start_button = 6; int ...