for (int i = 0; i < 11; i++) { // for loop
var/temp = board[i];
var/nick = Names[i];
if (board[i] > Points) {
board[i] = temp;
Names[i] = nick;
}
else if (board[i] != Points) {// If Begins here
board[i] = Points;
Names[i] = Pname;
}//end of if statement
Problem description:
For reference, I placed the initial values for the 'board' list as -666 to ensure that my if loop goes through.And it does -- the only problem is that everytime I get a new score, it overwrites EVERYTHING with said score.