 int fullrow                  = 0;
 int rowtodelete              = 0;
 int gameover                 = 0;
-int mode                     = 0;
+int mode                     = 1;
 int currentColor[3]          = {0};
 
-Adafruit_NeoPixel strip = Adafruit_NeoPixel((matrixx * matrixy), PIXEL_PIN, PIXEL_TYPE);
-
-void callback(char* topic, byte* payload, unsigned int length);
-
-MQTT client("ansinas", 1883, callback);
-
-void callback(char* topic, byte* payload, unsigned int length) {
-    char p[length + 1];
-    memcpy(p, payload, length);
-    p[length] = NULL;
-    String message(p);
-
-    if (message.equals("LEFT")){
-        left();
-    }
-
-    if (message.equals("RIGHT")){
-        right();
-    }
-
-    if (message.equals("DOWN")){
-        down();
-    }
-
-    if (message.equals("ROTATE")){
-        rotate();
-    }
-
-}
-
-void setup() {
-    
-    strip.begin();
-
-    for(int i = 0; i < strip.numPixels(); i++){
-        strip.setPixelColor(i, strip.Color(1, 0, 0));
-    }
-
-    strip.show();
-    
-    client.connect("tetrisdoor");
-
-    if (client.isConnected()) {
-        client.publish("tetrisdoor","start");
-        client.subscribe("tetrisdoor");
-    }
-
+Adafruit_NeoPixel strip = Adafruit_NeoPixel( (matrixx * matrixy) , PIXEL_PIN, PIXEL_TYPE);
+
+void setup() 
+{
+  strip.begin();
+  strip.show(); // Initialize all pixels to 'off'
 }
 
 void checkend(){

        checkrows();
        checkend();
        show();
        delay(100);
    }
}

    }
    
  }
  */
  strip.show();
}

void loop() {
    
    if(mode == 0){
      for(int x = 0; x < matrixx; x++){
        for(int y = 0; y < matrixy; y ++){
            matrix[x][y] = 0;
        }
      }
      matrix[1][1] = 1;
      show();
    }
    
    
    
    if(mode == 1){
        if(fallcount == fallspeed){
