I want to know about the algorithm use in tic tac toe.
I am not talking about minimax algorithm but i want to know about winner decision logic.
When we compare a specific sign of "X" or "O" by row wise, column wise or diagonal wise is it breadth first search or depth first search or any other algorithm that we used or its just a simple logic.
i have tried but not get answer every one talking about minimax.

Thanks in advance.