             goto gameWon;
           }
         }
-  
-        if (board[j] == oppToken) {
+        else if (board[j] == oppToken) {
           if (addScore > 0) {
             // A mix of "O" and "X" - no-one can win here
             addScore = 0;

  }
  // Place the token here
  board[i] = token;
}

int score(char board[], char token, char oppToken) {

        bestScore = thisScore;
        bestCol = col;
      }
      // remove the counter again
      boardCopy[counterPosition] = '.';
    }
  }
  return bestScore;
}





