Currently, pawn can only promote to queens. It should also be possible to promote to all other major pieces (knight, bishop, rook). It should also be possible to determine the most optimal choice in a minimax algorithm. This likely requires an extension of the existing Move class, as well as removing all hard-coded pawn promotion to queen code.
Currently, pawn can only promote to queens. It should also be possible to promote to all other major pieces (knight, bishop, rook). It should also be possible to determine the most optimal choice in a minimax algorithm. This likely requires an extension of the existing Move class, as well as removing all hard-coded pawn promotion to queen code.