system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How are video game cheat codes discovered? Does it have anything to do with algorithms or are they simply leaks by the developers?
gpt
What gamers call "cheat codes" are usually commands created *intentionally* by the game creators for testing purposes during production. There's no reason to remove them once the game is done, so when its released people will dig around "under the hood" as it were to find them.