Chess AI
Chess AI that uses the Min Max algorithm to decided which move
is best. The AI looks at every possible move 3 turns out and
assigns each move a score. The score is calculated using the
current board position and which pieces remain. The scores are
combined to give a total score for that move. Once all scores
have been calculated, and placed into a decision tree, the AI
chooses the score that increases its score the most during its
simulated turn, and chooses the lower score when it is the
opposing players turn. This alternation continues until it has
reached the head of the decision tree, where then the AI will
make its actual move.