The problem is, you've hard coded this, into your game:
Which obviously won't work out when you have "flipped" the char's you want to display.Code:puzzle[row][col] = '#';
Make a variable of type char, and set that char variable to '#', or to 'Y' or whatever you want to flip your char's to.
And always print out the board, using
instead of any one particular char.Code:puzzle[row][col] = charVariable;