Where did cheat codes come from?

History. Cheating in video games has existed for almost their entire history. The first cheat codes were put in place for play testing purposes . Playtesters had to rigorously test the mechanics of a game and introduced cheat codes to make this process easier.