72dcbcbf4f 
					 
					
						
						
							
							Adding Color to pieces ( #31 )  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
		
	 
 
	 
						
						Just adding a color field to pieces for drawing later
Carefull when you review, I also moved Vec2 to Utils where I feel it belong.
Solve #29 
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com >
Reviewed-on: #31 
Reviewed-by: Mat_02 <diletomatteo@gmail.com > 
						
						
					 
					
						2023-05-03 17:27:10 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a43e3b150a 
					 
					
						
						
							
							Finish initiate all the button in the gridPane For MenuLevel  
						
						 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is failing 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2023-05-01 20:48:49 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7ac860850c 
					 
					
						
						
							
							Finish initiate all the button in the gridPane For MenuLevel  
						
						 
						
						
						
						
					 
					
						2023-05-01 20:47:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a076ca12cb 
					 
					
						
						
							
							Finish initiate all the button in the gridPane For MenuLevel  
						
						 
						
						
						
						
					 
					
						2023-05-01 20:45:51 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc5da4956a 
					 
					
						
						
							
							Affichage des boutons pour les levels ok  
						
						 
						
						
						
						
					 
					
						2023-05-01 20:07:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c6df656381 
					 
					
						
						
							
							MapGenerator ( #34 )  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
			
				
	 
				continuous-integration/drone/pr Build is passing 
				
			 
		
		
	 
 
	 
						
						This generate maps following a simple structure
First we choose map size depending on the difficulty
we grind the edge with a random pattern so the map is not just a square
we pick a random open piece and try to make a piece out of it between a size of 1 to 3
and we do this in a loop until all open spaces are filled
this is not the best but it's efficient
known problem:
- We can have sometime a lot of small pieces
- We can have weird shape, for instance pieces that are only connected by corner
I think this is technically not a problem in the end. but this could be changed
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com >
Reviewed-on: #34 
Reviewed-by: Mat_02 <diletomatteo@gmail.com > 
						
						
					 
					
						2023-05-01 18:38:52 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						692e22b5b9 
					 
					
						
						
							
							Merge pull request 'Adding Array Copy for matrix' ( #33 ) from ArrayDeepCopy into master  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
		
	 
 
	 
						
						Reviewed-on: #33 
Reviewed-by: Mat_02 <diletomatteo@gmail.com > 
						
						
					 
					
						2023-05-01 17:53:54 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b4b89bcd86 
					 
					
						
						
							
							Finishing MenuAcceuil  
						
						 
						
						
						
						
					 
					
						2023-05-01 16:05:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						644af67a55 
					 
					
						
						
							
							Make a package for all the Menu class  
						
						 
						
						
						
						
					 
					
						2023-05-01 12:31:27 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ee0350c251 
					 
					
						
						
							
							clear CreateLevelMenu2 and all object useless in Controller  
						
						 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is failing 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2023-04-30 13:50:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d455b7f450 
					 
					
						
						
							
							Clear CreateLevel1 to make a new class  
						
						 
						
						
						
						
					 
					
						2023-04-30 13:44:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						02b4ab8a35 
					 
					
						
						
							
							Clear the method CreateMenu to make a new class with the same role  
						
						 
						
						
						
						
					 
					
						2023-04-30 13:07:36 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						24a7a73f36 
					 
					
						
						
							
							forget to update syntaxe with the array  
						
						 
						
						
						
						
					 
					
						2023-04-28 12:04:22 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ce99e1faf9 
					 
					
						
						
							
							Make an array for buttons and add a constructor  
						
						 
						
						
						
						
					 
					
						2023-04-28 12:01:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						075bdd9338 
					 
					
						
						
							
							Sub element from Controller to a new class  
						
						 
						
						
						
						
					 
					
						2023-04-28 11:48:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						25a6782f3c 
					 
					
						
						
							
							beginning of the final interface  
						
						 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2023-04-28 11:28:10 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0baef08205
	 
				 
					 
					
						
						
							
							Adding Array Copy for matrix  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
			
				
	 
				continuous-integration/drone/pr Build is passing 
				
			 
		
		
	 
 
	 
						
						Currently only boolean but we can add more if we need 
						
						
					 
					
						2023-04-27 11:16:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f71675dd21
	 
				 
					 
					
						
						
							
							addition of vectors  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
			
				
	 
				continuous-integration/drone/pr Build is passing 
				
			 
		
		
	 
 
	 
						
						Vector to string 
						
						
					 
					
						2023-04-27 11:09:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8749c23333 
					 
					
						
						
							
							File Parser for levels ( #18 )  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
		
	 
 
	 
						
						Co-authored-by: Debucquoy Anthony (tonitch) <debucquoy.anthony@gmail.com >
Reviewed-on: #18 
Reviewed-by: Mat_02 <diletomatteo@gmail.com > 
						
						
					 
					
						2023-04-21 20:00:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e7d82b3076 
					 
					
						
						
							
							Setting default position of vector to 0.  
						
						 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				continuous-integration/drone/push Build is passing 
				
			 
		
			
				
	 
				continuous-integration/drone/pr Build is passing 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2023-03-23 11:24:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						24df4e376c 
					 
					
						
						
							
							Adding Pieces positions  
						
						 
						
						
						
						
					 
					
						2023-03-21 14:14:39 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4854fef677
	 
				 
					 
					
						
						
							
							wip  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com > 
						
						
					 
					
						2023-03-21 09:56:13 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						71beb69c84
	 
				 
					 
					
						
						
							
							Changing addShape to AddPiece  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com > 
						
						
					 
					
						2023-03-20 23:57:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8d88f01c9d
	 
				 
					 
					
						
						
							
							Removing Position because my brain bugged  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com > 
						
						
					 
					
						2023-03-01 23:44:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e983c5aa13
	 
				 
					 
					
						
						
							
							Adding Map class  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com > 
						
						
					 
					
						2023-02-27 11:22:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						498529f29a
	 
				 
					 
					
						
						
							
							Finishing RotateRight  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anthony Debucquoy <debucquoy.anthony@gmail.com > 
						
						
					 
					
						2023-02-27 11:05:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e06abe60de
	 
				 
					 
					
						
						
							
							Starting Piece Shape and Maps, WIP: wrong algorithm  
						
						 
						
						
						
						
					 
					
						2023-02-27 00:52:19 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4055f12fba 
					 
					
						
						
							
							Starting Window  
						
						 
						
						
						
						
					 
					
						2023-02-25 13:55:35 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						40b6c8cfb4
	 
				 
					 
					
						
						
							
							Default gradle implementation + openjfx  
						
						 
						
						
						
						
					 
					
						2023-02-20 15:15:48 +01:00