Those ‘weird symbols’ are unicode characters. After declaring your board, the char values are just random symbols, what else should the board
elements contain?
You have to initialize your board like this:
Either on declaration:
char board[3][3] = {
{' ',' ',' '},
{' ',' ',' '},
{' ',' ',' '}
};
Or in the constructor/some initialization method:
board = {
{' ',' ',' '},
{' ',' ',' '},
{' ',' ',' '}
};
Now your board should consist of spaces only.
solved Tic-Tac-Toe game weird symbol