src/ie/gmit/sw/ai/Shuffler.java
private void flipAllCols() {
		for (int i = 0; i < 5/2; i++) {
			for (int j = 0; j < 5; j++){
				char temp = matrix[i][j];
				matrix[i][j] = matrix[5 - i - 1][j];
				matrix[5 - i - 1][j] = temp;
			}//for
		}//for
	}
//take all columns in the matrix and reverse them
take all columns in the matrix and reverse them
take all columns in the matrix and reverse them
private void flipAllCols() {
		for (int i = 0; i < 5/2; i++) {
			for (int j = 0; j < 5; j++){
				char temp = matrix[i][j];
				matrix[i][j] = matrix[5 - i - 1][j];
				matrix[5 - i - 1][j] = temp;
			}
		}
	}
private void flipAllCols ( ) { for ( int i = 0 ; i < 5 / 2 ; i ++ ) { for ( int j = 0 ; j < 5 ; j ++ ) { char temp = matrix [ i ] [ j ] ; matrix [ i ] [ j ] = matrix [ 5 - i - 1 ] [ j ] ; matrix [ 5 - i - 1 ] [ j ] = temp ; } } }
take all columns in the matrix and reverse them
take all columns in the matrix and reverse them
//for //for