public static String startGame(int size, int sqr1val, int sqr1plc,int sqr2val, int sqr2plc){

		long counter 	= 0;
		AlphaBeta ab 	= new AlphaBeta();
		Model model2048	= new Game2048Model( size,  sqr1val,  sqr1plc, sqr2val,  sqr2plc);	
		int [][] lastB = new int [model2048.getData().length][model2048.getData()[0].length];
		
		while(!model2048.isStuck() && !model2048.isSucceed()){
			// save last board data
			for(int i = 0 ; i < size ; i++){
				for(int j = 0 ; j < size ; j++){
					lastB[i][j] = model2048.getData()[i][j];
				}
			}
			// perform a user command
			int hint = ab.calculator(model2048);
			model2048.doUserCommand(hint);
			while(!model2048.isChanged(model2048.getData(), lastB)){
				Random rand = new Random();
				model2048.doUserCommand(rand.nextInt(4));
			}
			counter +=  AIsolver.statesCounter;	
			System.out.println("score: "+model2048.getScore());
		}
			
		String str;
		int score = model2048.getScore();
		
		if(score >=18432){
			str = "won";
		}else{
			str = "lost";
		}
		return str+","+"GameScore#"+score+","+"StatesDeveloped#"+counter;	
	}