public void setShuffledState() {
		
		Random random = new Random();
		
		for(int i=0;i<20;i++) {
			
			switch(random.nextInt(5)) {
			case 0  : shiftUp(random.nextInt(3));    break;	
			case 1  : shiftDown(random.nextInt(3));  break;
			case 2  : shiftLeft(random.nextInt(3));  break;
			case 3  : shiftRight(random.nextInt(3)); break;
			case 4  : shiftRotate("F", 1);           break;
			case 5  : shiftRotate("F", 3);           break;
			default : break;
			}
			
		}
		
		for(int i=0;i<3;i++) {
			grid[i][0] = -1;
			grid[i][1] = -1;
		}
		
		main_grid.setColor(color_bg);
		
		resetMoves();
		goToFront();
		
	}