This project is an exercise for CMSC 170 - Artificial Intelligence in UPLB. It uses own implementations of the minimax and the alpha-beta pruning algorithms in creating an unbeatable AI.
It has three files:
- Minimax.java - The Minimax file, where the instance of the GUI is included. The algorithm is also included in the main file.
- AlphaBeta.java - The Minimax algorithm with Alpha-beta Pruning applied.
- Board.java - The underlying code for the creation of the board, checking for winners, and storing available moves.
- GUI.java - Well, for the GUI. Movements for the AI and the player is also here.
The AI wins.
The game ends as a draw.