public int bestMove(String[] redPieces, String[] blackPieces, String whoseTurn){
		
		int best = 0;
		char me = whoseTurn.endsWith("Red") ? 'R' : 'B';
		
		int ori =  me =='R'? redPieces.length: blackPieces.length;
		for(String red : redPieces){
			this.fill(red,'R');
			
		}
		for(String black : blackPieces){
			this.fill(black,'B');
		}
		
		
		
		for(int i=0;i<8;i++){
			for(int j=0;j<8;j++){
				if(grid[i][j] == '-'){//try every set
					
					int c = score(i,j,me);
					if(c>best){
						best = c;
					}
					this.reset(redPieces,blackPieces);
				}
			}
		}
		
		
		//move("C1",'B');
		
		System.out.println("final score:"+ ori + "+" + best +" + 1 =" +(ori+best+1));
		
		return (ori+best+1);
	}