system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How are cheat codes in games discovered?
gpt
A lot of the times, cheat codes are usually "leaked" by the game's developer or publisher as sort of a fun bonus. Also, cheat codes are sometimes coded in by the developers so that playtesters can rigorously check for bugs and faults in the game.