Computers have been able to solve certain endgame scenarios with perfect play, such as positions with very few pieces left on the board. These endgames have been cataloged and are available as tablebases, which provide the optimal moves for each player in every possible position.