It's a GUI Java-based game which uses various Heuristic(Artificial Intelligence). The set of rules are designed on two bases.
1. Winning Condition-The winning goes in the hand of the computer player, ie. now whatever move human will going to take, there is no chance of winning of the human player.
2.Not in winning condition-The computer player is not in the winning condition, so it will try to take all those moves to let the computer player be in winning strategy.