There is one game called 'hack n slash' on steam. You manipulate the 'global vars' to win the game. There is even one point where the game has you open up its data files and change things. Interesting mechanic.