As my first game ive decided to attempt TTT, im fairly sure i can do the board, input, etc. The parts that baffle me are the AI and Checking for a win.
I pondered to check for a win via a 'if a O is found look for an adjacent one' but a:
O| |
------
O|O|
Arrangement would confuse it, bearing in mind ill be using an array for the board, can someone point me in the right direction with the AI and Checking for a win ?
Any help appreciated