How many winning combinations are there? Can they be put in an array and used in a loop?
I'm thinking of the game of tictactoe played on and 3x3 board. The 9 winning combos:...
Type: Posts; User: Norm
How many winning combinations are there? Can they be put in an array and used in a loop?
I'm thinking of the game of tictactoe played on and 3x3 board. The 9 winning combos:...
Have an array of all possible winning combinations and use that to determine if a defensive move needs to be made or if an offensive move can be made.