The code is the referee in a computer game
Cheating usually needs changing the code. The client knows the full state, so there is no way to be sure a player is not using it. Cheats built into a shipped game are more like another difficulty setting.
From Elias, Garfield and Gutschera, 2012, p. 233. Elias, G. S., Garfield, R. and Gutschera, K. R. (2012). Characteristics of games. Cambridge, MA: MIT Press. ISBN 978-0-262-01713-8.