@mutantspore nevermind, I got it! I just didn't increment my click variable after every click
tic tac toe zipline anyone?
@ottomahn what about it?
@karpimpski well , do i need to go for minimax algorithm(AI) , or a much easier solution exists?
@ottomahn I should probably know what a minimax algorithm is, but I don't :P I just made a function called check() that checked if the user was 1 square away from winning. and if they were, my AI would fill that square. I don't think there's anything easier than that, unfortunately
@ottomahn I decided to try and implement the “rules” on the wikipedia site