A proper Tic-Tac-Toe AI(Artificial Intelligence)single player game.This AI opponent will consider all possible scenarios and makes the most optimal move to defeat the player.
Your system must should have JVM/oracle open jdk installed before compilation of the code. compile: javac TicTacToe.java execute: java TicTacToe Java AWT (Abstract Window Toolkit) Java Swing Minimax Algorithm in Game Theory Evaluation Function in Game Theory 