A cheat code is a button combination or password which triggers an event or effect in a video game. Cheats add infinite ammunition to a gun, increase a character's health, change the character into a completely different character, and a lot more. You enter cheat codes using a game controller or your PC's keyboard.