@Override
	public void move(GameBoard board, Control control) {
		int[][] overall = new int[7][4];
		startState = new int[7][6];
		for (int n = 0; n < 7; n++) {
			for (int m=0; m<6; m++) {
				startState[n][m] = board.get_state(n, m);
			}
		}
		for (int i=0; i<4; i++) {
			int[] scores = eval(board, control, startState);
			int tempx = indexOfMax(scores);
			int tempy = control.getY(board, tempx);
			if (i%2 == 0) {
								
			} else {
				startState[tempx][tempy] = 1;
			}
			for (int all=0; all<7; all++) {
				overall[all][i] = scores[all];
			}
			
		}	
		
		int[] values = totals(overall);
		if (max(values) == 0) {
			AIRandom random = new AIRandom(2);
			random.move(board, control);
		} else {
			int highestCol = indexOfMax(values);
			int y = control.getY(board, highestCol); //already been checked so ignore chance of full column
			board.set_state(highestCol, y, playernum);
		}		
	}