The software uses an exhaustive endgame database to play flawlessly once a certain number of pieces remain on the board.