Given the assumption that the computer is optimizing something, and given the awareness of the possibility of a game, you can infer essentially the whole of chess from the program. Chess consists of three things: the board and pieces, the movement rules, and the winning criterion. Observing the game, you will find that the computer steers the chessboard into different final regions depending on whether it moves the black pieces or the white pieces, and this will tell you the criterion the computer uses to optimize its position. And these will tell you that checkmate favors the party moving last and draws are preferred to being checkmated but not to checkmating.
Given the assumption that the computer is optimizing something, and given the awareness of the possibility of a game, you can infer essentially the whole of chess from the program. Chess consists of three things: the board and pieces, the movement rules, and the winning criterion. Observing the game, you will find that the computer steers the chessboard into different final regions depending on whether it moves the black pieces or the white pieces, and this will tell you the criterion the computer uses to optimize its position. And these will tell you that checkmate favors the party moving last and draws are preferred to being checkmated but not to checkmating.