int nrows = pb.getNumRows();
for (int i = 1; i <= ncols; i++ ) {
for (int j = 1; j <= nrows; j++ ) {
if ( pb.isCandidateMove( j, i )) {
TwoPlayerMove m;
if (lastMove == null)
m = TwoPlayerMove.createMove( j, i, 0, new GamePiece(player1));
else
m = TwoPlayerMove.createMove( j, i, lastMove.getValue(), new GamePiece(player1));
searchable_.makeInternalMove( m );
m.setValue(searchable_.worth( m, weights));
// now revert the board
searchable_.undoInternalMove( m );
moveList.add( m );
}
}