filmov
tv
Chess Engine in Python - Part 16 - AI Improvement, weird en-passant bug fix, and threading

Показать описание
This will be the final video of the series for now. I really enjoyed making this series and thank you for all who followed it all the way through. I wanted to leave you with some things to try to write on your own:
UI improvements:
-Menu to select AI/Human
-Flip board options (display from black perspective)
-Change color of board/pieces - different piece skins
-Mouse click/drag for pieces
Engine improvements:
-Add 50 move draw and 3 move repeating draw rule
-Move ordering - look at checks, captures and threats first, prioritize castling/king safety, look at pawn moves last (this will improve alpha-beta pruning). Also start with moves that previously scored higher (will also improve pruning).
-Calculate both players moves given a position
-Change move calculation to make it more efficient. Instead of recalculating all moves, start with moves from previous board and change based on last move made
UI improvements:
-Menu to select AI/Human
-Flip board options (display from black perspective)
-Change color of board/pieces - different piece skins
-Mouse click/drag for pieces
Engine improvements:
-Add 50 move draw and 3 move repeating draw rule
-Move ordering - look at checks, captures and threats first, prioritize castling/king safety, look at pawn moves last (this will improve alpha-beta pruning). Also start with moves that previously scored higher (will also improve pruning).
-Calculate both players moves given a position
-Change move calculation to make it more efficient. Instead of recalculating all moves, start with moves from previous board and change based on last move made
Комментарии