here is the code I am working on.
if(board[player_O]!='X' && board[player_O]!='O')
{
board[player_O]='O';
}
else
{
player_O_two=rand()%9+1;
}
if(player_O_two==player_O)
{
player_O=rand()%9+1;
board[player_O]='O';
}
I only need a small hint.