     }
     
   }
-  
+  */
   strip.show();
 }
 
 void loop() {
     
-    if (client.isConnected()){
-        client.loop();
-    }
-    
     if(mode == 0){
-        
-          for(int i = 0; i < strip.numPixels(); i++){
-            strip.setPixelColor(i, strip.Color(currentColor[0], currentColor[1], currentColor[2]));
-          }
-          
-    }
+      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){

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

    }
  
  }

/*  
  for(int e = 0; e < 4; e++){
    truepos[0] = current[e][0]+pos[0];
    truepos[1] = current[e][1]+pos[1];
