Why Did Video Games Have Cheat Codes?

And why don’t they anymore?

Photo by Slava Pluzhnov on Unsplash