system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How were/are video game cheats discovered?
gpt
They were knowingly placed into the game by the makers, and released to various sources (Cheat magazines, websites).

Some only came out months or years after the game was released, some were rumored to exist and never did (the "Naked Lara" in Tomb Raider, for instance).

Especially when demoing, shooting a review, or just debugging, the ability to have infinite life/lives, skip levels, spawn weapons and vehicles, unlock characters, etc. is a nice feature.

"Glitches" are the things found by players. That's generally random luck to find and replicate, which is then spread through the online community.