i'm having trouble about getting my output right. Basically, i'm writing a basic search game, my program has multidimensional char array (every index has been initialize to a single space ' '). There are 2 players that take turn to guess (enter 2 numbers seperated by a space), if player 1 guesses it wrong, it will store '1' into that char array; and if player 2 guesses it wrong, it will be 2. But when one of them guess it right, it will display their number plus a char 'P' (example: 1P, or 2P) that has been stored in that char array (i used random class to randomize the location of the object to be searched for). I have everything done, except i just don't really know how to display the player number and the 'P' in the same index in a char array. i know that we can't have 2 char together since it's char.
Here are the sample run from my code (i actually tried, but it displays a '?'):

and this is the output i suppose to get when one of them player found the 'P':

Here is the code when i used in the toString() method to output the array:
for(int top = 0; top < totalRooms * 2; top++) {
a+= "__";
}
for(int row = hidingPlaces.length - 1; row >= 0; row--) {
a += "\n";
for(int col = 0; col < hidingPlaces[row].length; col++) {
a += "| " + hidingPlaces[row][col] + " ";
}
a += "|\n";
for(int bot = 0; bot < hidingPlaces[row].length; bot++) {
a += "|___";
}
a += "|";
}
This is the code where i initialize the char array with player #:
public boolean searchRoom(int floor, int room, char players) {
if (hidingPlaces[floor][room] != hidingPlaces[floorLocation][roomLocation]) {
hidingPlaces[floor][room] = players; // fill out those empty spots in the array with players' index
aArray[floor][room] = players; // samething here, except that this array doesn't show 'P'
found = false;
} else {
winner = players; // char winner is now the players' index.
found = true;
}
return found;
}

//output this array if puppy is found.
for(int top = 0; top < totalRooms * 2; top++) {
a+= "__";
}
for(int row = hidingPlaces.length - 1; row >= 0; row--) {
a += "\n";
for(int col = 0; col < hidingPlaces[row].length; col++) {
a += "| " + hidingPlaces[row][col] + " ";
if(hidingPlaces[row][col] == '3') {
a += "1P";
} else if (hidingPlaces[row][col] == '4') {
a += "2P";
}
}
a += "|\n";
for(int bot = 0; bot < hidingPlaces[row].length; bot++) {
a += "|___";
}
a += "|";
}
}
return a;