diff --git a/projet/Block.py b/projet/Block.py
new file mode 100644
index 0000000000000000000000000000000000000000..287684dfe3122a4c20a94f07f26bf6fc5da02d80
--- /dev/null
+++ b/projet/Block.py
@@ -0,0 +1,36 @@
+
+
+class Block:
+    def _init_(self,x:int,y,width:int,height:int,color=None):
+        self.x=x
+        self.y=y
+        self.width=width
+        self.height=height
+        self.sub_blocs=[]
+        
+        
+    
+    def est_uniform(self)->bool:
+        if self.color is None:
+            
+            return False
+        for sub_bloc in self.sub_blocs:
+            if sub_bloc.color!=self.color:
+                return False
+        return True
+    
+    
+    def ajouter_sub_bloc(self,bloc:str):
+        self.sub_blocs.append(bloc)
+        
+        
+      
+      
+    
+    
+    
+    
+
+            
+            
+    
\ No newline at end of file