if (user[0][0]) .... else if (user[0][1]) ...
And it isn't very dynamic, as it wouldn't act on 2 squares next to each other, I'm kinda stumped on making it dynamic. I was thinking on building a board of all the users moves, then choosing the best square ( if you could win, that would be top priority, losing would be 2nd, then just pick a random square ).
Any recommendations would be nice.

New Topic/Question
Reply




MultiQuote




|