1 Answer
1

I'm not sure if cheat codes vary between WoL and HoTS, but on the StarCraft 2 blog in December 2010 Blizzard admitted to there being cheats in StarCraft 2:

Cheat codes can only be used in single-player mode by pressing the
enter key within the game and typing in the codes as shown below
within the console.

Caution: Before using cheat codes it’s important to understand that
using them will prevent additional achievement gains you might have
earned through normal play until either a new campaign is started or a
prior save is loaded (one from before the use of the first cheat).