MichaelVertin / AIChess

AI Chess Game
0 stars 0 forks source link

Improved AI Algorithm #25

Closed MichaelVertin closed 9 months ago

MichaelVertin commented 9 months ago

Added Value to Pieces. Implemented Alpha-beta pruning algorithm from https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning. AIPlayer now searches through multiple possible turns, and chooses which one is optimal, assuming the opponent is also choosing the optimal choice. Scoring for 'difference in pieces' updated to consider Piece.Value.