public static void main(String[] args) {
    try {
		BrickGame.path = args[0];
		Master.setConfig();
		FieldGame.init_sub(10, 8);
				
		Status.ifWin = -1;
		BrickGame.error = new String[2];
		BrickGame.error[0] = "fatal";
		BrickGame.error[1] = "writeproblem";
		
		String[] names = new String[4];
		names[0]="Test1";
		names[1]="Test2";
		names[2]="Test3";
		names[3]="Test4";
		
		int[][] coords = new int[4][3];
		
		coords[0][0]=1;
		coords[0][1]=1;
		coords[0][2]=1;
		FieldGame.setField(1, 1, 1, -1);

		
		coords[1][0]=2;
		coords[1][1]=4;
		coords[1][2]=2;
		FieldGame.setField(1, 2, 4, -1);

		coords[2][0]=5;
		coords[2][1]=3;
		coords[2][2]=3;
		FieldGame.setField(1, 5, 3, -1);

		coords[3][0]=1;
		coords[3][1]=5;
		coords[3][2]=4;
		FieldGame.setField(1, 1, 5, -1);

		FieldGame.setField(2, 2, 2, -1);
		FieldGame.setField(1, 1, 2, -1);

		
		BrickGame.init(names, coords,true);
		
		Gui.init();
		
		while(true){
		Thread.sleep(500);
		if(Status.stop){Status.stop();}
		}
		
	} catch (Exception e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	}