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