There is no design of such a machine that does not encode a very deep understanding of the game.
Leela Chess Zero does understand chess. She plays at roughly 2300 strength with a search depth of 1 ply - purely on the strength of her gestalt evaluation of the position. Humans have learned a lot about chess from studying her (and AlphaZero’s) games. General, transferable knowledge she developed herself about - for example - the long term value of early rook pawn advances.
“Understanding” doesn’t imply anything about personhood or self reflection or awareness.