Thnx for comments.
Techwins, if i do the AI the common way, it will be pretty long. I would have to do something like:
Code:
if ( board[ col ][ row ] == currentPlayer &&
board[ col ][ row + 1 ] == currentPlayer &&
board[ col ][ row + 2 ] == currentPlayer &&
board[ col ][ row + 3 ] != 'X' &&
board[ col ][ row + 3 ] != 'O' )
/* move to there */
MMMM that looks ok. Ok i'll try that. But i'm interersted the 'special algorithms' you were talking about. Do you have any examples?
You are right. An intro would be cool. BUt i am trying to keep the board at the top left hand corner to do all the gotoxy's, make it easier. Scoring board is good, i'll do it after doing my AI.
THnx