I\'m trying to develop a minimax algorithm to play 1D chess which I\'m considering the following: 8 squares aligned, 1 king, 1 knight, and 1 rook. King and rook move in the usua