3738394041424344454647
int numberOfRounds=0; while(pf.movesAvailable()){ int index = (int)bruteForce(pf, level, 1, 1,level); pf.moveByInt(index); System.out.println(pf); pf.insertRandCell(); //insert new tile System.out.println(pf);