Tik Tak Toe Game with Plain Javascript using Minimax Algorithm
Minimax is a decision rule used in artificial intelligence, decision theory, game theory, statistics, and philosophy for minimizing the possible loss for a worst case scenario. When dealing with gains, it is referred to as "maximin"—to maximize the minimum gain. Read more about it here wikipedia