I'm not sure what you mean by creating an array with the winning combinations? Couldn't I just use the existing array and check where pieces have been placed on the board?
I came up with a...
Type: Posts; User: eyesackery
I'm not sure what you mean by creating an array with the winning combinations? Couldn't I just use the existing array and check where pieces have been placed on the board?
I came up with a...
After a bit more thought that method won't be much more intelligent than the random generated moves.
Does anyone have any suggestions how I can write the computer AI? At the moment the only option...
Hey Zaphod_b!
Thanks for the in depth and helpful reply! Putting those print statements throughout the code was such a good idea.
Being able to see what data the program was working with...
Here is a nought and crosses game I have been working on today.
Its based on the user playing the computer, where the computers moves are based on a random number generation. However for some...