Top "Tic-tac-toe" questions

Tic Tac Toe is a popular exercise for beginning coders, as the finite resources and game mechanics can be easily grasped and represented in many ways.

Algorithm for Determining Tic Tac Toe Game Over

I've written a game of tic-tac-toe in Java, and my current method of determining the end of the game accounts …

java algorithm tic-tac-toe
What algorithm for a tic-tac-toe game can I use to determine the "best move" for the AI?

In a tic-tac-toe implementation I guess that the challenging part is to determine the best move to be played by …

algorithm artificial-intelligence tic-tac-toe
Minimax explained for an idiot

I've wasted my entire day trying to use the minimax algorithm to make an unbeatable tictactoe AI. I missed something …

python minimax tic-tac-toe
TicTacToe AI Java

So this is a college assignment and everything is pretty much done except the AI doesn't know how to "take …

java artificial-intelligence tic-tac-toe
TypeError: 'int' object is not callable' in Python 3.2?

so i'm coding a tic tac toe game in python 3.2 and i have spent night and day trying to fix …

python input pygame typeerror tic-tac-toe
Is using too many 'if' statements bad programming?

I am curious as to if I am using too many if/else if statements. I am writing a tic-tac-toe …

javascript if-statement tic-tac-toe
Simple tic-tac-toe AI

I know this has been asked a lot and I've searched other code but most of what I've seen doesn't …

javascript artificial-intelligence tic-tac-toe
How do I fix the error "void value expression"?

I wrote a tic-tac-toe program. The part of the program that I am having trouble with is that i am …

ruby-on-rails ruby if-statement tic-tac-toe
Reference clicked JButton inside ActionListener

I'm trying to write a Tic Tac Toe program using swing, but I seem to having some trouble. In my …

java swing jbutton actionlistener tic-tac-toe
How to change text size in basic text window win32 c++

I am making a very basic tic tac toe game as my first ever attempt at anything windows. I have …

winapi text tic-tac-toe